• 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.

Sets trigger

Status
Not open for further replies.

En

En

Level 1
Joined
Mar 19, 2006
Messages
1
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
 
Level 5
Joined
Mar 11, 2006
Messages
195
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
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,183
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.
Top