29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
void main()
|
|
{
|
|
SetLocalInt(OBJECT_SELF,"DEAura",2);
|
|
//Set and apply AOE object
|
|
effect eAOE = EffectAreaOfEffect(AOE_MOB_CIRCGOOD,"desecrating_aur1","desecrating_aur2","desecrating_aur3");
|
|
eAOE = SupernaturalEffect(eAOE);
|
|
eAOE = ExtraordinaryEffect(eAOE);
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eAOE, OBJECT_SELF, HoursToSeconds(100));
|
|
|
|
|
|
|
|
|
|
effect eVis2 = EffectVisualEffect(VFX_IMP_HOLY_AID);
|
|
effect eVis = EffectVisualEffect(VFX_DUR_PROTECTION_EVIL_MINOR);
|
|
effect eAttack = EffectAttackIncrease(2);
|
|
effect eDamage = EffectDamageIncrease(2);
|
|
effect eSaves1 = EffectSavingThrowIncrease(SAVING_THROW_WILL,2);
|
|
effect eSaves2 = EffectSavingThrowIncrease(SAVING_THROW_REFLEX,2);
|
|
effect eHP = EffectAbilityIncrease(ABILITY_CONSTITUTION,4);
|
|
effect eLink = EffectLinkEffects(eAttack,eDamage);
|
|
eLink = EffectLinkEffects(eLink,eSaves1);
|
|
eLink = EffectLinkEffects(eLink,eSaves2);
|
|
eLink = EffectLinkEffects(eLink,eHP);
|
|
eLink = EffectLinkEffects(eLink,eVis);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_INSTANT,eVis2,OBJECT_SELF);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT,eLink,OBJECT_SELF);
|
|
}
|