Jump to content

Script Creation Help - Add Item Spell


TheSKPwningest1992

Recommended Posts

Create a magic effect script like the following:

 

Scriptname MySpellScript

BEGIN SCRIPTEFFECT START

Player.AddItem MyFirstItem 1		;Replace the "1" with however many items you want to add.
Player.AddItem MySecondItem 1
Player.AddItem MyThirdItem 1

Player.AddSpell MyFirstSpell
Player.AddSpell MySecondSpell
Player.AddSpell MyThirdSpell

Player.RemoveSpell MySpell

END
Save the script and then you can move onto part two. For the spell itslef, make sure it is casted on self and has a duration of at least 1 second. For the spell effect, choose Scripted Effect, and attach the above script. Voila! :smile:
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...