WizardryEE/Notes/trunk/scripts/ml_greaterturn.nss
2025-04-30 12:23:15 -04:00

9 lines
308 B
Plaintext

#include "prc_inc_spells"
void main()
{
ActionDoCommand(SetLocalInt(OBJECT_SELF, "UsingSunDomain", TRUE));
ActionCastSpell(SPELLABILITY_TURN_UNDEAD);
ActionDoCommand(DecrementRemainingFeatUses(OBJECT_SELF, FEAT_TURN_UNDEAD));
ActionDoCommand(DeleteLocalInt(OBJECT_SELF, "UsingSunDomain"));
}