generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
17
_module/nss/teslalightondama.nss
Normal file
17
_module/nss/teslalightondama.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastHostileActor();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oCaster;
|
||||
oCaster = GetObjectByTag("NumanTeslaLightMechanism");
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_CHAIN_LIGHTNING, oTarget, METAMAGIC_ANY, FALSE, 5, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user