• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Item for spell (Only if you want it)

Status
Not open for further replies.
Level 8
Joined
Jul 3, 2004
Messages
404
Code:
Make shure that the highest lvl is 1st. So that it dosent lvl from 1-3 with only 1 item


Like this:

Blizzard
    Events
        Unit - A unit Sells an item (from shop)
    Conditions
        (Item-type of (Sold Item)) Equal to Scroll of Town Portal
    Actions
        ------------------------------------------------------------------------------------------
  If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Blizzard for (Buying unit)) Equal to 2    <------------------------
            Then - Actions
                Item - Remove (Sold Item)
                Unit - Increase Level of Blizzard for (Buying unit)
                Game - Display to (All players) the text: Nt working
            Else - Actions
       --------------------------------------------------------------------------------------------------------------------
   If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Blizzard for (Buying unit)) Equal to 1    <------------------------
            Then - Actions
                Item - Remove (Sold Item)
                Unit - Increase Level of Blizzard for (Buying unit)
            Else - Actions
                Game - Display to (All players) the text: Nt working
  --------------------------------------------------------------------------------------------------------------------
      If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of Blizzard for (Buying unit)) Equal to 0    <------------------------
            Then - Actions
                Unit - Add Blizzard to (Buying unit)
                Item - Remove (Sold Item)
                Game - Display to (All players) the text: Nt working
            Else - Actions
  --------------------------------------------------------------------------------------------------------------------

There reason i made this is beacouse i want to share it!
 
Status
Not open for further replies.
Top