• 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.

[Trigger] gear system

Status
Not open for further replies.
Level 13
Joined
Oct 27, 2008
Messages
1,176
Right now this is all i have done for it there are still items i'm going to add in
  • Untitled Trigger 002
    • Events
      • Unit - A unit owned by Player 1 (Red) Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item carried by Hero1 of type Crown) Equal to (Item being manipulated)
        • Then - Actions
          • Unit - Remove head from Inventory1
          • Unit - Add Helm Head to Inventory1
          • Item - Remove (Item being manipulated)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item carried by Hero1 of type Robe) Equal to (Item being manipulated)
        • Then - Actions
          • Unit - Remove cloth from Inventory1
          • Unit - Add Armor to Inventory1
          • Item - Remove (Item being manipulated)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item carried by Hero1 of type Staff of Magic) Equal to (Item being manipulated)
        • Then - Actions
          • Unit - Remove emptyhand (R) from Inventory1
          • Unit - Add Weapon to Inventory1
          • Item - Remove (Item being manipulated)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item carried by Hero1 of type Fire) Equal to (Item being manipulated)
            • Then - Actions
              • Unit - Remove emptyhand (L) from Inventory1
              • Unit - Add Fire to Inventory1
              • Item - Remove (Item being manipulated)
            • Else - Actions
Ok well cuase a dummy unit is getting the gear on it (as skills), how would i give the bonus' to the player's hero?
What i'm going for is a player buys 1 of 3 items
Str Int or Agl items being Weapons, Helmet, or Armor
Player can upgrade the bonus given by the gear by paying gold to upgrade the amount of str, int or agl the item is meant to give
 
Last edited:
Status
Not open for further replies.
Top