Initial Upload
Initial Upload
This commit is contained in:
17
_module/nss/killefireball.nss
Normal file
17
_module/nss/killefireball.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oCaster;
|
||||
oCaster = GetObjectByTag("FireballStatue");
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_FIREBALL, oTarget, METAMAGIC_ANY, TRUE, 20, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user