Help on warden skills

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Awww... do I have to make the codes...... I'm kinda lazy :p
I'll just write the functions using my own words, so you'll still have to look for your own.

[/code]Events
A Unit Enters Playable Map Area
Conditions
(if you don't want the Critical to target Structures, then you can add this, or else not)
(Unit is a Structure) Not Equal to True
Actions
Add to AnotherTrigger <gen> the event 'Entering Unit Takes Damage'[/code]

AnotherTrigger

Code:
Events
      (supposed to be added later)
Conditions
      (Damage Source has buff TemporaryCritical) Equal to True
Actions
      Cause (Damage Source) to damage (Triggering Unit) dealing (Taken Damage) damage, of attack-type Hero and damage-type Acid
      Remove buff TemporaryCritical from (Damage Source)

Should be something like this....
Hope it works :)
 

mr-death

Acolyte
Reaction score
51
This:

Code:
Event: Unit Starts the effect of an ability
Conditions: Ability = Your Ability (no target, instant, Use Roar to get buff and set all data to 0, duration to 15.00)
Actions:
[COLOR="Red"]Wait Until - Unit has Buff equal to true, checking every 0.10 seconds[/COLOR]
Unit - Add Critical (2.00, 100%, Passive) to (Casting Unit)
Unit - Add Armor to (Casting Unit)
Wait Until - Unit has Buff equal to false, checking every 0.10 seconds
Unit - Remove Critical from (Attacking Unit)
Unit - Remove Armor from (Attacking Unit)

Then make another trigger.

Code:
Event: a unit is attacked
Conditions: Boolean: (Attacking Unit) has buff equal to true
Actions: 
Wait 0.35 seconds
Unit - Remove Buff from (Attacking Unit)

HMm.. the red text should be this then. It should work... Unless my freehand is very bad.

To Darkrae: Are you trying to double damage? He want it to be critical... And how about if the caster uses finger of death? It will be also damagex2, isn't it?
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Isn't there a way to check how the unit did the damage?

EDIT:
Btw, what's the Armor ability in your trigger?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top