• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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 77
Joined
Oct 6, 2004
Messages
10,115
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