HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

!!!!!Temporary Stat Bonus!!!!!

11-28-2004, 06:20 AM#1
blah900
How do you make a temporary stat bonus? like for 30sec, you get +30 strength bonus or something.
11-28-2004, 07:32 AM#2
Guest
Code:
Events:
Unit does something (Picks up an item, enters a region, goes up a level, kills something et cetera....)

Conditions:
(Triggering unit is a hero) equal to true

Actions:
Modify Strength of triggering unit: Add 30
Wait 30 Seconds
Modify Strength of triggering unit: Subtract 30

There's a much uglier way i would like to do it, but i think this'll suit you fine, hope it works for you

EDIT: The Modify attribute action is under the hero sub heading in the trigger module/Action list in case you were wondering.