MrZork wrote...
I like the idea. It's too bad there isn't an event that fires before a polymorph happens (before a PC's items are unequipped and so on). That might allow some attempt to prevent spell slots from being wiped, etc., without changing/recompiling all of the shildshape/shifting impact scripts.
yea that would be good, I made a script that solves this for a sorc a wiz characters, but it does only prevent the loss of the slots from ability bonus not from an items. And the same solution (aply an int/cha bonus permanently before polymorph and remove when unpolymorph) is not useable for a wis based characters as that might modify their AC, will...
anyway, I did that without this event, applied it righ beforre polymorph in all poly abilities scripts, and then ran pseudoHB i think to remove it if player is not in poly anymore - i can share if you want
BTW, did you plan to check that
oItem
has the BASE_ITEM_CREATUREITEM base item type, or to use oItem
somewhere?
why? anyway, feel free to modify it and post an update if you think its it better to check item base type. Actually that usage reason I wrote above is nonsense. The unequip/equip event will fire for each item all the time so in order to copy item properties one does not need this event, so not sure for what purpose this might be used. I am also locking all classes with a variable with polymorph and unlock them later, but that can be also done without this, if you dont mind using pseudohb etc.
Modifié par ShaDoOoW, 21 février 2013 - 08:47 .