generated from Jaysyn/ModuleTemplate
20 lines
389 B
Plaintext
20 lines
389 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.2
|
|
|
|
For download info, please visit:
|
|
http://www.angelfire.com/space/lilacsoul */
|
|
|
|
//Put this OnDeath
|
|
void main()
|
|
{
|
|
|
|
object oCaster;
|
|
oCaster = GetObjectByTag("OilBarrel");
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("OBJECT_SELF");
|
|
|
|
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_FIREBALL, oTarget, TRUE, 8, TRUE));
|
|
|
|
}
|