• 🏆 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!

I need some help :D

Level 6
Joined
Mar 28, 2018
Messages
128
how do I change this trigger to give 100% pure damage and ignore any armor.

  • Counter Helix
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) has buff Counter Helix ) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 100) Less than or equal to 17
        • Then - Actions
          • Set VariableSet Temp_Point = (Position of (Triggering unit))
          • Set VariableSet Temp_Group = (Units within 300.00 of Temp_Point matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit)).) Equal to True) and (((Matching unit) is alive) Equal to True)).)
          • Unit Group - Pick every unit in Temp_Group and do (Actions)
            • Loop - Actions
              • Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
              • Unit - Cause (Triggering unit) to damage (Picked unit), dealing (25.00 + (25.00 x (Real((Level of Counter Helix for (Triggering unit)))))) damage of attack type Hero and damage type Normal
          • Animation - Play (Triggering unit)'s spin animation
          • Custom script: call RemoveLocation(udg_Temp_Point)
          • Custom script: set udg_Temp_Point = null
          • Custom script: call DestroyGroup(udg_Temp_Group)
          • Custom script: set udg_Temp_Group = null
          • Trigger - Turn off (This trigger)
          • Wait 0.25 seconds
          • Trigger - Turn on (This trigger)
          • Animation - Play (Triggering unit)'s stand animation
        • Else - Actions
 
Level 25
Joined
Sep 26, 2009
Messages
2,378
You will need to use different attack and damage type in this action:
  • Unit - Cause (Triggering unit) to damage (Picked unit), dealing (25.00 + (25.00 x (Real((Level of Counter Helix for (Triggering unit)))))) damage of attack type Hero and damage type Norma
See WC3's Damage System, especially the excel table picture which shows how various pairs of attack/damage work
 
Top