- Joined
- Jun 12, 2015
- RedCents
- 58,244¢
- Version of KissAssist.mac?
- kiss11
- When did your problem start?
- allwyas
- Character Role?
- Assist
- What class is having this issue?
- Beastlord
- How often does this issue occur?
- Always
- Can you reproduce the issue?
- yes
was looking for a way to check for average mana of the group.
came up with this
then we could do
cond10= ${AvgMana} < 80
to see if groups avgmana was under 80
maybe add another variable ${ManaCheck} < 60 which would return true if anyone was under 60% mana
just an idea for some checks that dont exist as tlos like avghp, and injured etc.
came up with this
C-like:
Sub ManaStuff
/declare i int local 0
/declare c int local 0
/declare GroupMana int local 0
/declare AvgMana int outer 0
/for i 0 to 5
/if (${Group.Member[${i}].PctMana} && ${Group.Member[${i}].Present} && !${Group.Member[${i}].Hovering}) {
/varcalc c ${c}+1
/varcalc GroupMana ${GroupMana}+${Group.Member[${i}].PctMana}
}
/next i
/varcalc AvgMana ${GroupMana}/${c}
/return
then we could do
cond10= ${AvgMana} < 80
to see if groups avgmana was under 80
maybe add another variable ${ManaCheck} < 60 which would return true if anyone was under 60% mana
just an idea for some checks that dont exist as tlos like avghp, and injured etc.

