--[[ a.abolishin Маунт Грумвол. ]] function bot_GrumvolMount_r(A, C) local bot = PERS(my.persPtr) if (my.status ~= FS_PS_ACTIVE) or (not my.oppPtr) then -- можем ли ходить? return end -- лечилка, если есть и если надо abil_MountHeal() -- вамп, если противник лечится if (#aux.activeEffects(my.oppPtr, {grpId = C[2]}) > 0) or (#aux.activeEffects(my.oppPtr, {grpId = C[3]}) > 0) then aux.useEffect({artId = A[2]}) end -- маг/физ удар if aux.randRoll(C[1]) then aux.useEffect({artId = A[1]}, my.oppPtr) else ATTACK(math.random(3)) end end -- botID = 1171 function bot_GrumvolMount13() -- маг урон, вамп local A = {7287, 7286} -- вероятность мощного удара, группа "элики жизни", группа "свитки лечения" local C = {0.1, 24, 1} bot_GrumvolMount_r(A, C) end function bot_GrumvolMount13_t() -- маг урон, вамп local A = {5849, 6216} -- вероятность мощного удара, группа "элики жизни", группа "свитки лечения" local C = {0.1, 24, 1} bot_GrumvolMount_r(A, C) end