• 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] Item Enchanting

Status
Not open for further replies.
Level 5
Joined
Oct 17, 2006
Messages
151
I'm not at my pc so im not quite exactly sure but to my understanding an item can only have one ability (+3 str buffs count as an ability) so you would have to make a new item in the object editor to represent every added buff...
 
Level 5
Joined
Oct 17, 2006
Messages
151
His question I believe, was whether or not he can add attributes to a particular item (example is diablo with socketing)

Do you agree with me Day-Elven that he would have to make a different item for each attribute he wants to add?
 
Level 4
Joined
Jan 27, 2009
Messages
57
Right! I'll make one item for each enchanting bonus, for each type of item. I need a trigger to remove the non-enchanted item and to add a new item with a bonus count of +1 then the previous.

I need a way to event response the use of the enchanting item (scroll) ability, got it? :wink:
 
Level 5
Joined
Oct 17, 2006
Messages
151
hmmm how many items are we talking about here?

Generally how it will work is you will make all of your individual items (each with individual buffs) and when you "enchant" an item the trigger will replace the old item with the new enchanted item. The only problem will be the fact that we will have to redo this for EVERY item because abilities cant be added to items... :cry:
 
Level 4
Joined
Jan 27, 2009
Messages
57
Yes, but this is not the worse. My most important problem is: How can I make a trigger respond to an item ability use?

The enchanting scroll has the skill to target an item. After using the ability, my trigger needs to run with the target of the item ability used, changing it to the next grade.
But I don't know how to do it. It doesn't matter how much items I'll use, I can copy-paste and change the item type, but I need a working trigger to do this. Someone can help?
 
Level 9
Joined
Apr 3, 2008
Messages
700
neavea said:
Do you agree with me Day-Elven that he would have to make a different item for each attribute he wants to add?
Absolutely. I don't know action that can add an ability to item.
ApS_iCeKiSs said:
The enchanting scroll has the skill to target an item. After using the ability, my trigger needs to run with the target of the item ability used, changing it to the next grade.
What is the problem? You can target items in inventory too.
  • Trigger
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item-type of (Target item of ability being cast)) Equal to
        • Then - Actions
          • Hero - Create * and give it to (Triggering unit)
        • Else - Actions
      • Item - Remove (Target item of ability being cast)
 
Last edited:
Status
Not open for further replies.
Top