Updated AMS marker feats

Updated AMS marker feats.  Removed arcane & divine marker feats.  Updated Dread Necromancer for epic progression. Updated weapon baseitem models.  Updated new weapons for crafting & npc equip.
 Updated prefix.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-02-11 14:01:05 -05:00
parent 618cd42b82
commit 6ec137a24e
24762 changed files with 1528530 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
//:://////////////////////////////////////////////////
//:: animobj_hb.nss
/*
OnHeartbeat event handler for animated objects.
*/
//:://////////////////////////////////////////////////
#include "X0_INC_HENAI"
void main()
{
object oSelf = OBJECT_SELF;
//animated objects stop animating after casterlvl rounds
int iRoundsToGo = GetLocalInt(oSelf, "Rounds");
if(iRoundsToGo <= 0 || !GetIsObjectValid(GetMaster()))
{
ExecuteScript("animobj_killself", oSelf);
return;
}
SetLocalInt(oSelf, "Rounds", iRoundsToGo - 1);
// Schedule next HeartBeat
DelayCommand(6.0f, ExecuteScript("animobj_hb", oSelf));
}