Supernatural Effects getting removed onRest
badstrref
Member Posts: 124
1/ Rest removes supernatural effects with DURATION_TYPE_TEMPORARY
ApplyEffectToObject(1, eHaste, oPC, fDuration); // Gets removed on Rest
2/ Rest doesn't remove supernatural effects with DURATION_TYPE_PERMANENT (as intended)
ApplyEffectToObject(2, eDmg, oPC); // Remains after rest
My onRest script is empty atm.
void main() { object oPC = GetLastPCRested(); switch (GetLastRestEventType()) { case REST_EVENTTYPE_REST_STARTED : break; case REST_EVENTTYPE_REST_CANCELLED : break; case REST_EVENTTYPE_REST_FINISHED : break; case REST_EVENTTYPE_REST_INVALID : break; } }Tested on my current module, on another mod, and on empty mod.
Post edited by badstrref on
0
Comments