• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
Yours Truly

CoA Zhan W

Flying stick because fuck you.
in the description it states (+80% Attack Damage) does this include items or is it just he base?
 
@Devalut
I record the base damage for each different champions. When they land a basic attack, a trigger is fired to get the champion's total damage. With that, you can get the bonus damage by subtracting total damage with base damage. It's not efficient, but it does the job.

Here's the trigger I made that retrieves the champion's total atk dmg:

  • Retrieve Attack Damage
    • Events
      • Game - DamageModifierEvent becomes Equal to 1.00
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • IsDamageSpell Equal to False
          • DamageEventAttackT Not equal to ATTACK_TYPE_HERO
          • Or - Any (Conditions) are true
            • Conditions
              • IsDamageMelee Equal to True
              • IsDamageRanged Equal to True
    • Actions
      • Set QuickMaths = DamageEventAmount
      • Set Store_AtkType = DamageEventAttackT
      • -------- ----------------------------------------------------- --------
      • Set DamageEventAttackT = ATTACK_TYPE_HERO
      • Set DamageEventArmorPierced = (Armor of DamageEventTarget)
      • -------- ----------------------------------------------------- --------
      • Set GetUnitAttackDamage[(Custom value of DamageEventSource)] = DamageEventAmount
      • -------- ----------------------------------------------------- --------
      • Set DamageEventAttackT = Store_AtkType
      • Set DamageEventArmorPierced = 0.00
      • -------- ----------------------------------------------------- --------
      • Set DamageEventAmount = QuickMaths


In this case, ATTACK_TYPE_HERO is Physical Damage (Orange Text) , which I made it does full damage to all armor types in the game constants. Piercing all of the target's armor will retrieve the champion's total attack damage. Once you have stored it, change back the damage.
 

Media information

Category
Gameplay Videos / Mod Trailers
Added by
Yours Truly
Date added
View count
1,912
Comment count
24
Rating
5.00 star(s) 3 ratings

Share this media

Top