Without nwnx, you can grant permanent ac basically only using permanent effect, such effect is lost everytime player dies and each server-reset. So you need to set into database or on item that this player has bonus AC and how many and reapply it everytimes you expect it could be lost.
Ive scripted similar effect - cold vulnerability after levelling RDD and applied the code for reapply inside: spellscript resurrect, spellscript raise dead, OnEnter (using local integer on PC - "EnteredAlready" you can determine that hes entering first time after reset, OnRespawn and OnLevelUp (since my effect is tied with lvl 10RDD) and OnLevelDown (custom scripted event created by hooking all SetXP calls in module (if you want to know how to do it, I ll explain).
Also is a good idea to use the effect creator. Thats placeable in system area with effect like EC_AC which will allow you to determine where does effect on PC comes from if you ever wanted to remove it (which is needed for effects like RDD cold vulnerability). - if you are not familiar with effect creators try search this forum, Ive already described how it works, how to use it etc.
And lastly, without NWNX, you can basically only use dodge. That however might be useless for several characters that using bard song/divine shield/epic mage armor and thus reached +20ac cap. Only way around this is to pick different AC bonus like shield (bwest choice cos there are no default spells granting this ac bonus), and recalculate and reapply this bonus everytime player (un)equip shield.
Modifié par ShaDoOoW, 02 juillet 2012 - 02:59 .