Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

17
trunk/scripts/prc_zoa.nss Normal file
View File

@@ -0,0 +1,17 @@
#include "inc_newspellbook"
#include "prc_inc_core"
void main()
{
if (!GetHasFeat(FEAT_TURN_UNDEAD, OBJECT_SELF))
{
SpeakStringByStrRef(40550);
}
else
{
SetLocalInt(OBJECT_SELF, "UsingZoneOfAnimation", TRUE);
ActionCastSpell(SPELLABILITY_TURN_UNDEAD);
DecrementRemainingFeatUses(OBJECT_SELF, FEAT_TURN_UNDEAD);
DelayCommand(3.0, DeleteLocalInt(OBJECT_SELF, "UsingZoneOfAnimation"));
}
}