• 🏆 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!

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