• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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