--[[ a.abolishin пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ. ]] function bot_MurgulMount_r(A, C, R) local bot = PERS(my.persPtr) if bot_MurgulMountBaf2 == nil then bot_MurgulMountBaf2 = {} end if bot_MurgulMountBaf2[bot.id] == nil then bot_MurgulMountBaf2[bot.id] = my.stime + C[2] end if bot_MurgulMountBaf3 == nil then bot_MurgulMountBaf3 = {} end if bot_MurgulMountBaf3[bot.id] == nil then bot_MurgulMountBaf3[bot.id] = 3 end if (my.status ~= FS_PS_ACTIVE) or (not my.oppPtr) then -- пїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ? return end abil_MountHeal() local hpC = bot.hp/bot.hpMax if hpC < (bot_MurgulMountBaf3[bot.id] * C[1]) then -- пїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅ пїЅ3 aux.useEffect({artId = A[3]}, my.oppPtr) bot_MurgulMountBaf3[bot.id] = bot_MurgulMountBaf3[bot.id] - 1 end if aux.randRoll(R[2]) and (bot_MurgulMountBaf2[bot.id] <= my.stime) then -- пїЅпїЅпїЅпїЅпїЅпїЅпїЅ aux.useEffect({artId = A[2]}) bot_MurgulMountBaf2[bot.id] = my.stime + C[2] end if aux.randRoll(R[1]) then aux.useEffect({artId = A[1]}, my.oppPtr) -- пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ else ATTACK(math.random(3)) end end -- botID = 712 function bot_MurgulMount() local A = {4559, 4560, 4561} local C = {0.3, 30} local R = {0.15, 0.1, 0.1} return bot_MurgulMount_r(A, C, R) end function bot_MurgulMount_t() local A = {4490, 4491, 4492} local C = {0.3, 30} local R = {0.15, 0.1, 0.1} return bot_MurgulMount_r(A, C, R) end