AmericanNero
Seasoned veteran member
- Joined
- Oct 13, 2020
- RedCents
- 4,709¢
If you attempt ${Target.Slowed.SlowPct}, and the mob has not yet been successfully slowed, it returns null. Shouldn't it return 0? If you try ${Target.Slowed.SlowPct}<70.... you can't do it because null is not an int so it craps out.
Workarounds to be able to compare int...
/declare SlowPct int local 0
/varcalc SlowPct ${Target.Slowed.SlowPct}+0
One can also do (${Target.Slowed.SlowPct}+0) as part of a condition within an ini.
Anyhoo...
Workarounds to be able to compare int...
/declare SlowPct int local 0
/varcalc SlowPct ${Target.Slowed.SlowPct}+0
One can also do (${Target.Slowed.SlowPct}+0) as part of a condition within an ini.
Anyhoo...
Last edited:

