Added pen & paper & rafhot's expanded creature abilities
Added pen & paper & rafhot's expanded creature abilities
This commit is contained in:
31
_module/_removed files/nw_s2_wholeness.nss
Normal file
31
_module/_removed files/nw_s2_wholeness.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Wholeness of Body
|
||||
//:: NW_S2_Wholeness
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
The monk is able to heal twice his level in HP
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Preston Watamaniuk
|
||||
//:: Created On: Aug 14, 2001
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
/*
|
||||
bugfix by Japetus
|
||||
- didn't healed the correct amount
|
||||
*/
|
||||
|
||||
void main()
|
||||
{
|
||||
//Declare major variables
|
||||
int nLevel = GetLevelByClass(CLASS_TYPE_MONK)*2;
|
||||
effect eHeal = EffectHeal(nLevel);
|
||||
effect eVis = EffectVisualEffect(VFX_IMP_HEALING_M);
|
||||
SignalEvent(OBJECT_SELF, EventSpellCastAt(OBJECT_SELF, SPELLABILITY_WHOLENESS_OF_BODY, FALSE));
|
||||
//Apply the VFX impact and effects
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, OBJECT_SELF);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eHeal, OBJECT_SELF);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user