• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

how to combine item?by creating item skill?

Status
Not open for further replies.
Level 1
Joined
Nov 27, 2004
Messages
1
how to combine item to a new item,like dota chaos.
example:if i wan when i hav 2 healing potion,it will automatically combine to 1 greater healing potion,how can i set it,by item skill?

(soli my english is poor,hope u all can understand my questions n help me,thnx) :p
 
Level 16
Joined
Sep 3, 2004
Messages
2,086
Please make the effort to type those last couple letters.

So you want a skill that triggers a recipe? This is how I could do it. You need this trigger, a dummy ability like roar, and such

Event
Unit Starts the effect of an ability
Conditions
w/e
Actions
For Each Integer from 1 to 6 do actions
Loop-If triggering unit has item of type potion of healing in slot (Integer A), then set RecipeTemp to (RecipeTemp+1) Else do nothing
End Loop (not a function)
If RecipeTemp Greater than or equal to 2, then remove all items of potion of healing, create a PoGH for triggering unit
-Special effects
 
Status
Not open for further replies.
Top