Critical Blink strike Spell

hiyazaki09

Member
Reaction score
0
Hello there i know the Crit blink strike now
but can the critical strike times to the hero's stats say X4 of his agi thx :)
 

deebee

New Member
Reaction score
15
Trigger:
  • Unit - Cause HeroUnitVariable to damage TargetedUnitVariable, dealing (4.00 x (Real((Agility of HeroUnitVariable (Include bonuses))))) damage of attack type Spells and damage type Normal


Assuming the critical blink strike spell is triggered
 

Kelvin87

New Member
Reaction score
14
Sure you can do that. I give you an example in Custom Script.
Trigger:
  • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Critical Blink Strike
    • Actions
      • Custom script: local unit caster = GetSpellAbilityUnit()
      • Custom script: local unit target = GetSpellTargetUnit()
      • Custom script: local real dmg = I2R( GetHeroAgi( caster, true )*4 )
      • Custom script: call UnitDamageTargetBJ( caster, target, dmg, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL )
      • Custom script: call SetUnitX( caster, GetUnitX(target) )
      • Custom script: call SetUnitY( caster, GetUnitY(target) )
      • Custom script: call CreateTextTagUnitBJ( I2S(R2I(dmg) )+"!", target, 0, 10, 100, 0.00, 0.00, 0 )
      • Custom script: call SetTextTagLifespan( bj_lastCreatedTextTag, 2.0 )
      • Custom script: call SetTextTagPermanent(bj_lastCreatedTextTag, false )
      • Custom script: call IssueTargetOrder(caster, "attack", target )
      • Custom script: set caster = null
      • Custom script: set target = null
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top