• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
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,518
Comment count
24
Rating
5.00 star(s) 3 ratings

Share this media

Top