Trigger: Timed Critical Strike.

ZelNaga

New Member
Reaction score
5
Ok so I'm making a skill that have 5 ranks to the skill. it does:

Lvl 1 For 5 seconds Hero has 5% chance to deal 1.5 times normal damage.
Lvl 2 For 10 seconds Hero has 10% chance to deal 2 times normal damage.
Lvl 3 For 15 seconds Hero has 15% chance to deal 2.5 times normal damage.
Lvl 4 For 20 seconds Hero has 20% chance to deal 3 times normal damage.
Lvl 5 For 25 seconds Hero has 25% chance to deal 3.5 times normal damage.
(40 second recharge for all)

Each skill has a buff attached to it. (Buff 1-5) so each rank has a different buff. The skill I used is Roar, I took off the animation and it only targets the Hero.

As for the tiggering I can't it right. So far I have it slightly triggered but I feel like I went in the wrong direction. Can anyone show me how this should properly be triggered? =D
 

Tom Jones

N/A
Reaction score
437
Inspiration:
Trigger:
  • Critical Strike onAttack
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Triggering unit) is in CriticalStrike_Group) Equal to False
      • ((Attacking unit) has buff *Your Buff*) Equal to True
    • Actions
      • Unit Group - Add (Attacked unit) to CriticalStrike_Group
      • Trigger - Add to Critical Strike onDamage <gen> the event (Unit - (Triggering unit) Takes damage)


Trigger:
  • Critical Strike onDamage
    • Events
    • Conditions
      • ((Damage source) has buff *Your Buff*) Equal to True
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Cause (Damage source) to damage (Triggering unit), dealing ((Damage taken) x (1.50 + (0.50 x (Real(((Level of *Your Ability* for (Damage source)) - 1)))))) damage of attack type Hero and damage type Normal
      • Trigger - Turn on (This trigger)
 

ZelNaga

New Member
Reaction score
5
Ok I'm a little dumb, could you explain that trigger please? I understand the 2nd one does the damage, but the first I have no clue. Where would the limited time of the critical strike be at? On the skill, or the trigger?
 

Tom Jones

N/A
Reaction score
437
Duration should be controlled by the buff, i.e. the ability.

*Edit*
First trigger will add a specific unit takes damage event to the second trigger, a event which isn't available as generic unit event. The group check makes sure that a unit doesn't get registered more than once.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top