--[[ a.abolishin Маунт-жук. ]] function bot_BeetleMount_r(A, C, R) local bot = PERS(my.persPtr) -- можем ли ходить? if (my.status ~= FS_PS_ACTIVE) or (not my.oppPtr) then return end abil_MountHeal() -- если противник в блоке... if PERS_ISDEFENDED(my.oppPtr) then -- ...кастуем второй баф на противника aux.useEffect({artId = A[2]}) end -- насчитали С1 вторых бафов? if #aux.activeEffects(my.persPtr, {artId = A[2]}) >= C[1] then -- кастуем баф 3 (и скидываем вторые бафы) aux.useEffect({artId = A[4]}) aux.useEffect({artId = A[3]}, my.oppPtr) return end if aux.randRoll(R[1]) then -- травим противника aux.useEffect({artId = A[1]}, my.oppPtr) else -- обычная атака ATTACK(math.random(3)) end end -- botID = 847 function bot_BeetleMount() local A = {4551, 4552, 4553, 4654} local C = {7} local R = {0.15} return bot_BeetleMount_r(A, C, R) end function bot_BeetleMount_t() local A = {4551, 4552, 4553, 4636} local C = {7} local R = {0.15} return bot_BeetleMount_r(A, C, R) end