--[[ a.abolishin Маунт Ледяной медведь. ]] function bot_IcyBearMount_r(A, C) local bot = PERS(my.persPtr) -- можем ли ходить? if (my.status ~= FS_PS_ACTIVE) or (not my.oppPtr) then return end -- маунтовская лечилка abil_MountHeal() local powerAttack = #aux.activeEffects(my.persPtr, {artId = A[2]}) > 0 local hpC = bot.hp / bot.hpMax -- заряжалка, если мало хп if (hpC < C[1]) and (not powerAttack) then aux.useEffect({artId = A[2]}) powerAttack = true end -- атака в зависимости от зарядки if A[3] and aux.randRoll(C[2]) then aux.useEffect({artId = A[3]}, my.oppPtr) elseif powerAttack then aux.useEffect({artId = A[1]}, my.oppPtr) else ATTACK(math.random(3)) end end -- botID = 1056 function bot_IcyBearMount_10() -- мощная атака, заряжалка, дот (10ый без дота) local A = {6211, 6212} -- порог жизни для зарядки, шанс травилки local C = {0.2, 0.0} bot_IcyBearMount_r(A, C) end -- botID = 1057 function bot_IcyBearMount_12() -- мощная атака, заряжалка, дот local A = {6224, 6212, 6213} -- порог жизни для зарядки, шанс травилки local C = {0.2, 0.1} bot_IcyBearMount_r(A, C) end function bot_IcyBearMount_t() -- мощная атака, заряжалка, дот local A = {6020, 6021, 5196} -- порог жизни для зарядки, шанс травилки local C = {0.2, 0.1} bot_IcyBearMount_r(A, C) end