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

[General] Level of ability for unit field

Level 4
Joined
Feb 1, 2024
Messages
36
Hello, I'm making a 4-level ability that scales damage and distance based on level of that ability for casting unit.

It seems the level field is a bit weird where when it equals to 0, it is actually level 1 of my ability, where it equals to 1 it is level 2. Is this true? As until I set the ability to max level (in Level field it equals to 4) it does no damage nor distance and debug message says: 0.000.

Also are there anything as conflicting like Level field so I can avoid it in the future?
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,543
Hello, I'm making a 4-level ability that scales damage and distance based on level of that ability for casting unit.

It seems the level field is a bit weird where when it equals to 0, it is actually level 1 of my ability, where it equals to 1 it is level 2. Is this true? As until I set the ability to max level (in Level field it equals to 4) it does no damage nor distance and debug message says: 0.000.

Also are there anything as conflicting like Level field so I can avoid it in the future?
 
Top