Hey lolesch,
Yes... are you thinking of having a passive skill that swaps these stat bonuses? If so, it would be pretty easy. Here's the setup:
You need a passive skill that applies 2 effects:
CRITICAL CHANCE
PERCENT ARMOR BONUS (or ARMOR BONUS)
On these effects you want to set the STAT field to be the CHARACTER CRIT CHANCE stat. Or CHARACTER CRIT %? I don't know, look it up here:
.
But remember, that even though the stat is used internally, you have to declare it in the STATS EDITOR of GUTS for it to be used in your mod, otherwise it will cause a crash.
Set the STAT % field in the effect editor to be 100% (or whatever percent you want it to be).
Then, for the MIN/MAX...
CRIT CHANCE = -1, which will give the player a penalty to crit chance = to their crit chance, making it 0%.
ARMOR BONUS = 1, which will give them a bonus to their armor equal to their crit chance
Then, in the EVENT_END just remove the affix that applies these two effects and you'll be golden.