Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

/Pomoc/ Jak to zrobić? ;/


Rekomendowane odpowiedzi

Opublikowano

nie wiem jak dodać skrypt do bola tzn jest to "new script"
wklejam to np :

 

 

if myHero.charName ~= "Orianna" then return end

local Target
local Ball = myHero
local BallMoving = false
local LastQ = 0
local Enemies = AutoCarry.EnemyTable

function PluginOnLoad()
SkillQ = {spellKey = _Q, range = 825, speed = 1.2, delay = 250, width = 80}
AutoCarry.SkillsCrosshair.range = 900
end

function PluginBonusLastHitDamage(minion)
return getDmg("P", minion, myHero)
end

function PluginOnTick()
Target = AutoCarry.GetAttackTarget()
if not BallMoving then
local CanW = (myHero:CanUseSpell(_W) == READY)
if AutoCarry.PluginMenu.autoHarras then
if Target ~= nil then
if myHero.mana/myHero.maxMana*100 >= AutoCarry.PluginMenu.autoMinMana then
AutoCarry.CastSkillshot(SkillQ, Target)
if Ball ~= nil and Ball ~= myHero and GetDistance(Ball, Target) < 250 and LastQ < GetTickCount() + 100 and CanW then CastSpell(_W) end
end
end
end
if AutoCarry.PluginMenu.comboHelper and AutoCarry.MainMenu.AutoCarry then
if Target ~= nil then
AutoCarry.CastSkillshot(SkillQ, Target)
if Ball ~= nil and GetDistance(Ball, Target) < 250 and LastQ < GetTickCount() + 100 and CanW then CastSpell(_W) end
if Ball ~= nil and Ball ~= myHero then
local CanHit = checkhitlinepass(Ball, myHero, 30, 1100, Target, GetDistance(Target, Target.minBBox)/2)
local CanE = (myHero:CanUseSpell(_E) == READY)
if CanHit and CanE then CastSpell(_E, myHero) end
end
end
end
if AutoCarry.PluginMenu.autoUlt then
local ValidTargets = 0
for i, Enemy in pairs(Enemies) do
if Enemy ~= nil and not Enemy.dead and Enemy.visible and GetDistance(Ball, Enemy) < 400 then ValidTargets = ValidTargets + 1 end
end
if ValidTargets >= AutoCarry.PluginMenu.autoMinEnemies and myHero.mana >= 100 then CastSpell(_R) end
end
if AutoCarry.PluginMenu.KillUlt then
local KillableTargets = 0
for i, Enemy in pairs(Enemies) do
if Enemy ~= nil and not Enemy.dead and Enemy.visible and GetDistance(Ball, Enemy) < 400 and getDmg("R", Enemy, myHero) >= Enemy.health then KillableTargets = KillableTargets + 1 end
end
if KillableTargets >= AutoCarry.PluginMenu.KillMinEnemies and myHero.mana >= 100 then CastSpell(_R) end
end
end
end

function PluginOnDraw()
if Ball ~= nil and not Ball.isMe and AutoCarry.PluginMenu.drawReturnRange then DrawCircle(Ball.x, Ball.y, Ball.z, 1325, 0xFF80FF00) end
end

function PluginOnProcessSpell(unit, spell)
if unit.isMe and spell.name == "OrianaRedactCommand" then
Ball = spell.target
BallMoving = false
end
if unit.isMe and spell.name == "OrianaIzunaCommand" then
BallMoving = true
LastQ = GetTickCount()
end
end

function PluginOnCreateObj(obj)
if obj == nil or obj.name == nil then return end
if (obj.name:find("yomu_ring_green")) then
Ball = obj
BallMoving = false
end
if (obj.name:find("Orianna_Ball_Flash_Reverse")) then
Ball = myHero
BallMoving = false
end
end

function PluginOnSendPacket(p)
local packet = Packet(p)
if packet:get('name') == 'S_CAST' then
local SpellID = packet:get('spellId')
if SpellID == SPELL_4 then
local ValidTargets = 0
for i, Enemy in pairs(Enemies) do
if Enemy ~= nil and not Enemy.dead and Enemy.visible and GetDistance(Ball, Enemy) < 400 then ValidTargets = ValidTargets + 1 end
end
if ValidTargets == 0 then p:Block() end
end
end
end

AutoCarry.PluginMenu:addParam("Information1", " aOrianna v1.0 by Anonymous", SCRIPT_PARAM_INFO, "")
AutoCarry.PluginMenu:addParam("Information2", "== Auto-Settings: ==", SCRIPT_PARAM_INFO, "")
AutoCarry.PluginMenu:addParam("autoHarras","Automaticly Harras", SCRIPT_PARAM_ONOFF, true)
AutoCarry.PluginMenu:addParam("autoMinMana","Minimum % mana", SCRIPT_PARAM_SLICE, 35, 0, 100, 0)
AutoCarry.PluginMenu:addParam("autoUlt","Automaticly ultimate", SCRIPT_PARAM_ONOFF, true)
AutoCarry.PluginMenu:addParam("autoMinEnemies","if can catch X enemies:", SCRIPT_PARAM_SLICE, 3, 1, 5, 0)
AutoCarry.PluginMenu:addParam("KillUlt","Automaticly kill with ultimate", SCRIPT_PARAM_ONOFF, true)
AutoCarry.PluginMenu:addParam("KillMinEnemies","if can kill X enemies:", SCRIPT_PARAM_SLICE, 3, 1, 5, 0)
AutoCarry.PluginMenu:addParam("Information2", "== Helper-Settings: ==", SCRIPT_PARAM_INFO, "")
AutoCarry.PluginMenu:addParam("comboHelper","Combo in AutoCarry mode", SCRIPT_PARAM_ONOFF, true)
AutoCarry.PluginMenu:addParam("shieldInCombo","Use shield to damage enemy", SCRIPT_PARAM_ONOFF, true)
AutoCarry.PluginMenu:addParam("drawReturnRange","Draw return range of ball", SCRIPT_PARAM_ONOFF, true)



w grze działa tylko na wardy (wszystkie skrypty z bola które tam są wystarczy kilknąć "download" wszystkie z tego działają to nw może coś źle robie? ;/

ps. nie pamiętam jak się robiło spoilera ;p

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...