I looking for way to hunt in peace without get skull, I'm using this action to attack Earth Elemental's. But always any idiot stay in my front.
ANYONE CAN FIX IT TO: "IF NO PLAYER NEAR then CAST~"
Please fix it!
Code:if target.id ~= 0 and target.name == "Earth Elemental" and target.dist <= 3 and cancast ("exori flam") then cast ('exori flam') end