Initial commit
Initial commit.
This commit is contained in:
14
_module/nss/kill_undead.nss
Normal file
14
_module/nss/kill_undead.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
void main()
|
||||
{
|
||||
object oTarget = GetEnteringObject();
|
||||
int iType = GetRacialType(oTarget);
|
||||
|
||||
if ( iType == RACIAL_TYPE_UNDEAD )
|
||||
{
|
||||
effect eDazzle = EffectVisualEffect(VFX_DUR_GLOW_LIGHT_YELLOW);
|
||||
effect eDie = EffectDeath(TRUE,TRUE);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,eDazzle,oTarget);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,eDie,oTarget);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user