• 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 Upgrades?

Status
Not open for further replies.
Level 13
Joined
Jun 3, 2011
Messages
1,058
Hi guys i really wanna know how to make an item that if you forge it or merge in a crystal, gem, etc. it makes it +1 then when you forge it again it becomes +2 Help Please
 
Level 11
Joined
Oct 31, 2010
Messages
1,057
here you go, a test map :3

how to use, you take the assasssin blade and buy the gem +1 then the assasin blade will become +1, then if you buy the gem again, it becomes +2
 

Attachments

  • Crafting +1 + 2.w3x
    17.1 KB · Views: 38
Level 13
Joined
Jun 3, 2011
Messages
1,058
here you go, a test map :3

how to use, you take the assasssin blade and buy the gem +1 then the assasin blade will become +1, then if you buy the gem again, it becomes +2

How Should i make it like if you enhance it sometimes fails and got destroyed
 
Level 3
Joined
Apr 21, 2012
Messages
33
Create a real variable. In the trigger, before remove the 2 items and add new one, add an action to set that variable into random number between 1 and 100. then add if/then/else. In if condition compare that your variable is <= your chance to success then add the forged one to a unit, else just remove that two items.
 
Level 11
Joined
Jun 15, 2011
Messages
447
Events - A unit acquires an item
Conditions - Item type of item being manipulated equal to (item1, weapon?) and Hero manipulating item has item of type (item2, gem?)
or
Item type of Item being manipulated equal to (item2) and Hero manipulating item has item of type (item1)
Actions - (Use If then else multiple actions)

If random number between 1 and 2 equal to 1 then do remove item carried by hero manipulating item of type (item1) remove item carried by hero manipulating item of type (item2) create (item3, weapon+1?) and give it to Hero manipulating item (and create a message that the "upgrading" is successful, with text message, floating text, etc...) else do remove item carried by hero manipulating item of type (item2) (and create a message that the upgrading has failed)

(You may also add a special effect when the upgrade is successful)
 
Last edited:
Status
Not open for further replies.
Top