:stayin if energy < 100 then set energy 300 end :attack if 0 then disable end