Groundskeeper
New member
- Joined
- Aug 2, 2020
- RedCents
- 7¢
Hi I wanted to share some things that I learned. This a very learn by example environment so I hope this helps someone else.
I had a little trouble gathering up a strategy to understand conditionals, documentation for what is available isn't really clear. I bet it exists, I just can't find it.
The next best thing is to really just guess and verify via /echo.
an example is that most ini's use PctHPs but if you wanted a more exact number to use, you might guess around and find these:
eg. /echo ${Me.MaxHPs}, /echo ${Me.TotalHPs}, /echo ${Me.PctHPs}
So I am trying to do something like this,
Only cast if the mob has been malo'd and/or tash'd AND the mob is one level less or higher, my conditional will look like this:
I am curious to know if this can be simplified with buff tags instead that cover the whole family of debuff..
or if i can use inclusive conditonals like >= but I haven't tried yet.
I had a little trouble gathering up a strategy to understand conditionals, documentation for what is available isn't really clear. I bet it exists, I just can't find it.
The next best thing is to really just guess and verify via /echo.
an example is that most ini's use PctHPs but if you wanted a more exact number to use, you might guess around and find these:
eg. /echo ${Me.MaxHPs}, /echo ${Me.TotalHPs}, /echo ${Me.PctHPs}
So I am trying to do something like this,
Only cast if the mob has been malo'd and/or tash'd AND the mob is one level less or higher, my conditional will look like this:
Cond5=${Math.Calc[${Me.Level} - ${Target.Level} + 2]} > 0
Cond6=${Target.Buff[Tashania].ID} || ${Target.Buff[Tashani].ID} || ${Target.Buff[Malosi].ID}
Cond7=${Cond[5]} && ${Cond[6]}I am curious to know if this can be simplified with buff tags instead that cover the whole family of debuff..
or if i can use inclusive conditonals like >= but I haven't tried yet.



