Fixed Sigmata radials

Fixed Sigmata radials.  Added spiritual weapon sanity checks.  Forsaker & Vow of Poverty fixes by @Fencas.  Updated Saint template.  Fixed minor TLK updates.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-12-28 22:43:13 -05:00
parent 99298bfadc
commit 7a4dc4dffc
12 changed files with 55 additions and 32 deletions

View File

@@ -77,7 +77,6 @@ void main()
object oSummon = GetItemPossessor(oWeapon); // The wielder of the weapon
object oTarget = PRCGetSpellTargetObject(); // The creature being attacked
object oCaster = GetLocalObject(oSummon, "MY_CASTER"); // Retrieve the stored caster
object oPC = GetFirstPC(); // First player character for debug messages
int nRunEvent = GetRunningEvent();
@@ -85,7 +84,13 @@ void main()
{
oSummon = GetPCItemLastUnequippedBy();
oWeapon = GetPCItemLastUnequipped();
SendMessageToPC(GetFirstPC(), "prc_evnt_spirwep: Item OnUnEquip / OnUnAcquire Event running.");
if(GetIsPC(oSummon) == TRUE)
{
return;
}
if(DEBUG) DoDebug("prc_evnt_spirwep: Item OnUnEquip / OnUnAcquire Event running.");
HandleSpiritualWeaponUnequipEvent();
return;
}