28 lines
972 B
Plaintext
28 lines
972 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Lycanbane
|
||
|
//:: NW_S2_Lycanbane.nss
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Le maitre menesrel transmet sa protection contre
|
||
|
les metamorphe pendant 1 minute.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Age
|
||
|
//:: Created On: Jan 23, 2004
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#include "NW_I0_SPELLS"
|
||
|
#include "mh_constante"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
//Declare major variables
|
||
|
object oTarget = GetSpellTargetObject();
|
||
|
effect eVisual = EffectVisualEffect(VFX_IMP_AC_BONUS);
|
||
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVisual, oTarget);
|
||
|
effect eACBonus = VersusRacialTypeEffect(EffectACIncrease(5), RACIAL_TYPE_SHAPECHANGER);
|
||
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eACBonus, oTarget, 60.0);
|
||
|
//Fire cast spell at event for the specified target
|
||
|
SignalEvent(oTarget, EventSpellCastAt(OBJECT_SELF, SPELLABILITY_LYCANBANE, FALSE));
|
||
|
}
|