• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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