• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Sets trigger

Status
Not open for further replies.

En

E

En

I want a system like in Diablo: when hero carries full set
(armor+helmet+sword...)ech of items gets more bonuses.
EXAMPLE:
sword(+10 to str.);helmet (+Aura); armor(+def.)
sword+helmet+armor=sword(+10;feedback abilitie);helmet(+aura;+10 int.);armor(+def.;+move speed).
WARNING
This is not mutating\cmombying\or smtng like that !
If hero drop one of sets items all another ones comes back single
 
something like:
[trigger:1:18eede0074]
event - every second
condition
action
pick all units in playable map area matching matching unit is high
for each integer a from 1 to 6
if item in inventory spot A is equal to item Q
then set item bonus=item bonus+1 (= integer)
else do nothing
(repeat for item Z and X)
if bonus=equal to 3
then add bonus abilaty to high and picked unit
else remove bonus abilaty from high and picked unit[/trigger:1:18eede0074]
lol it is a bit custom typed so the icons arent quite right but at least you got an idea, havent tested it though (bonus abilaty adds strenght or something)

oh btw ralle, cool those minimising things
 
well I would do something like this:
[trigger:1:52728129ed]Trang Oul Set Bonus
Events
Unit - A unit Acquires an item
Unit - A unit Loses an item
Unit - A unit Sells an item (from shop)
Unit - A unit Pawns an item (to shop)
Unit - A unit Uses an item
Conditions
Actions
Wait 0.01 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has an item of type Trang Oul's Bracers) Equal to True
((Triggering unit) has an item of type Trang Oul's Claws) Equal to True
Then - Actions
Unit - Add Trang-Oul's Set Bonus Lvl1 to (Triggering unit)
Else - Actions
Unit - Remove Trang-Oul's Set Bonus Lvl1 from (Triggering unit)
[/trigger:1:52728129ed]
 
Status
Not open for further replies.
Back
Top