Help with CSS: Conditon for below % HP?

2xMachina

New member
I'm wondering, is there something to put in CSS so that it checks for below a HP% to do something?

I want to use a healing item when below, say 20% HP, but I can't figure out how to tell mafia that.

And any way to make it proc 1 time per combat only? (Planning on using indigo cup)
 

Winterbay

Active member
You can enter BALLS-macro text into the CCS if you want to so that could do what you want, or you could write a combat consult script to make more complex analysis of the situation possible.
 

2xMachina

New member
Thanks.

I find that consult scripts makes combat lag tho (Mafia doing it 1 turn at a time). Is that normal?
 

Winterbay

Active member
Well, you can do it one turn per time or you cna do several by having the consult script submit a macro of all actions (including conditionals and whatnot) to KoL directly. WHAM is a somewhat complicated consult script that attempts to finish the fight off in a cheap and server friendly way, but may be slightly more than what you need. But you can always take a look at it for hints.
 
Top