I'm making a basic sipper for Achaea, and I've got a trigger that looks like this:
For some reason, when it triggers and sends "sip health" then sets sipbalance to 2, it still notes sipbalance as 1. It seems that whenever I SetVariable then access the same variable inside a trigger, the variable hasn't actually changed yet. Is this normal, or am I missing a checkbox somewhere?
Thanks, this is my first post, but everyone on here has already helped me a lot indirectly :).
SetVariable("currenthealth", "%1")
SetVariable("currentmana", "%2")
SetVariable("currentstate", "%3")
if @currenthealth < @siphealth and @sipbalance==1 then
if @sm==1 and @currentmana < @sipmana then
Send("sip mana")
SetVariable("sipbalance", "2")
Note(@sipbalance)
else
Send("sip health")
SetVariable("sipbalance", "2")
Note(@sipbalance)
end
end
if @currentmana < @sipmana and @sipbalance==1 then
Send("sip mana")
SetVariable("sipbalance", "2")
end
For some reason, when it triggers and sends "sip health" then sets sipbalance to 2, it still notes sipbalance as 1. It seems that whenever I SetVariable then access the same variable inside a trigger, the variable hasn't actually changed yet. Is this normal, or am I missing a checkbox somewhere?
Thanks, this is my first post, but everyone on here has already helped me a lot indirectly :).