• 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 Set Bonus

Status
Not open for further replies.
Level 5
Joined
Aug 12, 2010
Messages
87
Item Set Bonus: Solved.

I want to create 3 items set if you have all they give bonus atributes. I can replace if hero pick one of that item and have other 2 with "unit aqures an item'' but how to make if hero drop 1 item or gives to other player how to replace that item to normal non-set item? There is no "Replace item action"if i remove and create other item i have 2 of them cus i remove 1 item and trigger runs and then i drop that item trigger runs again if "unit lose an item".

Item:
boots=30 agility
gloves=30 str
hat=30 int

i replace them with:
boots-set=30 agi
gloves-set=30str
hat-set=30int and 30all stats

i cant just add ability to hero with noicon i ned items with description of possible set bonus...GL lol
 
Last edited:

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
just create 3 empty items wich should be in the item set make sure it dont give bonuses and add this trigger. just modify the items
  • item set
    • Events
      • Unit - A unit Acquires an item
      • Unit - A unit Loses an item
    • Conditions
  • Or - Any (Conditions) are true
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Claws of Attack +15
      • (Item-type of (Item being manipulated)) Equal to Crown of Kings +5
      • (Item-type of (Item being manipulated)) Equal to Kelen's Dagger of Escape
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has an item of type Claws of Attack +15) Equal to False
          • ((Triggering unit) has an item of type Crown of Kings +5) Equal to False
          • ((Triggering unit) has an item of type Kelen's Dagger of Escape) Equal to False
        • Then - Actions
          • Hero - Modify Agility of (Hero manipulating item): Subtract 30
          • Hero - Modify Strength of (Hero manipulating item): Subtract 30
          • Hero - Modify Intelligence of (Hero manipulating item): Subtract 30
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) has an item of type Claws of Attack +15) Equal to True
          • ((Triggering unit) has an item of type Crown of Kings +5) Equal to True
          • ((Triggering unit) has an item of type Kelen's Dagger of Escape) Equal to True
        • Then - Actions
          • Hero - Modify Agility of (Hero manipulating item): Add 30
          • Hero - Modify Strength of (Hero manipulating item): Add 30
          • Hero - Modify Intelligence of (Hero manipulating item): Add 30
        • Else - Actions
 
Last edited:
Level 17
Joined
Feb 11, 2011
Messages
1,860
Darkgrom, your trigger has a big mistake: In your conditions you must add OR because currently is says that the item being manipulated must be three different items which is impossible.

  • Conditions
    • Or - Any conditions are true
      • Item type of item being manipulated equal to...
      • Item type of item being manipulated equal to...
      • Item type of item being manipulated equal to...
 
Level 5
Joined
Aug 12, 2010
Messages
87
Ok good sleap and my head works... If anyone need this here how i make this...

pick.png

drop.png

And thats how all should look like:

Shoes-5.png

Shoes-set.png
 
Last edited:
Status
Not open for further replies.
Top