Fixed Major Zone of Desecration
Fixed Major Zone of Desecration.
This commit is contained in:
parent
b5d31c0297
commit
797442d3da
Binary file not shown.
@ -12,7 +12,7 @@ void main()
|
||||
{
|
||||
object oTarget = GetExitingObject();
|
||||
|
||||
if(GetHasSpellEffect(SPELL_DES_20, oTarget) || GetHasSpellEffect(SPELL_DESECRATE, oTarget))
|
||||
if(GetHasSpellEffect(SPELL_DES_20, oTarget) || GetHasSpellEffect(SPELL_DES_100, oTarget) || GetHasSpellEffect(SPELL_DESECRATE, oTarget))
|
||||
{
|
||||
//Search through the valid effects on the target.
|
||||
effect eAOE = GetFirstEffect(oTarget);
|
||||
@ -20,7 +20,7 @@ void main()
|
||||
{
|
||||
if(GetEffectCreator(eAOE) == GetAreaOfEffectCreator())
|
||||
{
|
||||
if(GetEffectSpellId(eAOE) == SPELL_DES_20 || GetEffectSpellId(eAOE) == SPELL_DESECRATE)
|
||||
if(GetEffectSpellId(eAOE) == SPELL_DES_20 || GetEffectSpellId(eAOE) == SPELL_DESECRATE || GetEffectSpellId(eAOE) == SPELL_DES_100)
|
||||
RemoveEffect(oTarget, eAOE);
|
||||
}
|
||||
//Get next effect on the target
|
||||
|
@ -1,6 +1,6 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Desecrate
|
||||
//:: prc_tn_des_b
|
||||
//:: prc_tn_des_c
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
You create an aura that boosts the undead
|
||||
@ -13,7 +13,7 @@ void main()
|
||||
{
|
||||
object oTarget = GetExitingObject();
|
||||
|
||||
if(GetHasSpellEffect(SPELL_DES_100, oTarget))
|
||||
if(GetHasSpellEffect(SPELL_DES_20, oTarget) || GetHasSpellEffect(SPELL_DES_100, oTarget) || GetHasSpellEffect(SPELL_DESECRATE, oTarget))
|
||||
{
|
||||
//Search through the valid effects on the target.
|
||||
effect eAOE = GetFirstEffect(oTarget);
|
||||
@ -21,7 +21,7 @@ void main()
|
||||
{
|
||||
if(GetEffectCreator(eAOE) == GetAreaOfEffectCreator())
|
||||
{
|
||||
if(GetEffectSpellId(eAOE) == SPELL_DES_100)
|
||||
if(GetEffectSpellId(eAOE) == SPELL_DES_20 || GetEffectSpellId(eAOE) == SPELL_DESECRATE || GetEffectSpellId(eAOE) == SPELL_DES_100)
|
||||
RemoveEffect(oTarget, eAOE);
|
||||
}
|
||||
//Get next effect on the target
|
||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user