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

integer ability level Condition not working? error with 1.29 maybe?

Status
Not open for further replies.
Level 15
Joined
Jul 9, 2008
Messages
1,552
The integer check you do to see if a unit has ability doesnt seam to be working on the map im working on

e.g if level of ability greater then 0 for unit means it has the ability

is any 1 else having this issue or am i missing somthing ?

  • Agressive Damage
    • Events
      • Game - DamageEvent becomes Equal to 1.00
    • Conditions
      • (Level of Stance Agressive for DamageEventSource) Greater than 0
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Agressive Damage for DamageEventSource) Not equal to 21
        • Then - Actions
          • Unit - Set level of Agressive Damage for DamageEventSource to ((Level of Agressive Damage for DamageEventSource) + 1)
          • Unit - Set level of Attack Speed Bonus (Agressive Stance) for DamageEventSource to ((Level of Attack Speed Bonus (Agressive Stance) for DamageEventSource) + 1)
        • Else - Actions
 
Status
Not open for further replies.
Top