generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
24
_module/nss/castgmweapon.nss
Normal file
24
_module/nss/castgmweapon.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.6
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this on action taken in the conversation editor
|
||||
void main()
|
||||
{
|
||||
|
||||
TakeGoldFromCreature(500, GetPCSpeaker(), TRUE);
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oCaster;
|
||||
oCaster = OBJECT_SELF;
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_GREATER_MAGIC_WEAPON, oTarget, METAMAGIC_ANY, TRUE, 40, PROJECTILE_PATH_TYPE_DEFAULT, FALSE));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user