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

[Pytanie] Ryze


Takeo1234

Rekomendowane odpowiedzi

Opublikowano

Możesz skopiować cały i wkleić go do BoLa, gdyż to co jest na początku, to zwykła notatka.

Δ ( ͡º ͜ʖ ͡º)  ಠ_ಠ Δ

 
Opublikowano

Jak chcesz tu mogę dać ci mój skrypt pod ryza. Jest zaktualizowany i okrojony ze wszystkich zbędnych funkcji. Dzięki temu masz tylko przydatne opcje. Combo standardowo Space, na stun combo X a na long combo Z.

 

 

if GetMyHero().charName == "Ryze" then


qRange = 600
wRange = 600
eRange = 600
rRange = 200 -- Range of your ulti AOE




function OnLoad()
        lastcast = _R
        DCConfig = scriptConfig("Ryze Combo", "Ryze")
        DCConfig:addParam("burstActive", "Burst Combo", SCRIPT_PARAM_ONKEYDOWN, false, 32)
        DCConfig:addParam("longActive", "Long Combo", SCRIPT_PARAM_ONKEYDOWN, false, 90)
        DCConfig:addParam("catchActive", "Catch Combo", SCRIPT_PARAM_ONKEYDOWN, false, 88)
        DCConfig:addParam("useUlti", "Use ultimate in combos", SCRIPT_PARAM_ONOFF, true)
        DCConfig:addParam("swapCombos", "Swap burst and long on high cdr", SCRIPT_PARAM_ONOFF, true)
        DCConfig:addParam("drawcircles", "Draw Circles", SCRIPT_PARAM_ONOFF, true)
        PrintChat ("Ultimate Ryze 1.6 by bnsfg loaded! Original script by TRUS.")
        ts = TargetSelector(TARGET_LESS_CAST_PRIORITY,qRange,DAMAGE_MAGIC,false)
        ts.name = "Ryze"
        DCConfig:addTS(ts)
        qDmg = math.floor(35+25*player:GetSpellData(_Q).level-1 + player.ap*0.4 +
player.maxMana*0.065)
end


function doSpell(ts, spell, range)
        if ts.target ~= nil and GetMyHero():CanUseSpell(spell) == READY and GetDistance(ts.target)<=range then
                CastSpell(spell, ts.target)
                 lastcast = spell
        end
end


function OnDraw()
    if myHero.dead then return end  
         if DCConfig.useUlti then
        DrawText("Using ultimate in combos",20,100,20,0xFF80FF00)
                end
          if DCConfig.catchActive then
        DrawText("Catch Active",16,100,80,0xFF80FF00)
    elseif DCConfig.longActive then
        DrawText("Long Active",16,100,80,0xFF80FF00)
    elseif DCConfig.burstActive then
        DrawText("Burst Active",16,100,80,0xFF80FF00)
                end
        if DCConfig.drawcircles then
                                local color = 0xFF80FF00
                                local swapped = DCConfig.swapCombos and myHero.cdr <= -0.35
                                if DCConfig.catchActive then
                                color = 0x0062FF
                                end
                                if (DCConfig.burstActive and not swapped) or (DCConfig.longActive and swapped) then color = 0xED850E
                                end
                                if (DCConfig.longActive and not swapped) or (DCConfig.burstActive and swapped) then color = 0xED0E0E
                                end
                                DrawCircle(myHero.x, myHero.y, myHero.z, qRange, color)
                       
         local wDmg = math.floor(25+35*player:GetSpellData(_W).level-1 + player.ap*0.6 +
player.maxMana*0.045)
         local eDmg = math.floor(30+20*player:GetSpellData(_E).level-1 + player.ap*0.35 +
player.maxMana*0.01)
         local fullComboDamage = (qDmg*3)+wDmg+(eDmg*2)
         DrawText("Full combo damage: " .. fullComboDamage, 16, 100, 0, 0xFFFF0000)
                if ts.target ~= nil then
                                local enemyInRange = 0
                                        for i = 1, heroManager.iCount, 1 do
                                local hero = heroManager:getHero(i)
                                if ValidTargetNear(hero, rRange, ts.target) then
                                        enemyInRange = enemyInRange + 1
                                        DrawCircle(hero.x, hero.y, hero.z, 100, 0xFF8400FF)
                                        end
                                end
        DrawText("Targetting: " .. ts.target.charName, 16, 100, 100, 0xFFFF0000)
        DrawCircle(ts.target.x, ts.target.y, ts.target.z, 100, 0xFF80FF00)
    end
        end
end




function OnWndMsg(msg,key)
        if DCConfig.longActive and DCConfig.catchActive then
                DCConfig.useUlti=not DCConfig.useUlti
        end
     


end


function OnTick()
        ts:update()
        if not DCConfig.burstActive and not DCConfig.longActive and not DCConfig.catchActive then lastcast = _R end
        qDmg = math.floor(35+25*player:GetSpellData(_Q).level-1 + player.ap*0.4 +
player.maxMana*0.065)
        local swapped = DCConfig.swapCombos and myHero.cdr <= -0.35
        if not myHero.dead then
        if (DCConfig.catchActive and ts ~= nil) then
                if myHero:CanUseSpell(_W) == READY then
                     doSpell(ts, _W, wRange)
                elseif (lastcast == _W or lastcast == _E or lastcast == _R) and myHero:CanUseSpell(_Q) == READY
         then
         doSpell(ts, _Q, qRange)
         elseif DCConfig.useUlti and lastcast == _Q and myHero:CanUseSpell(_R) == READY        
         then  
                                lastcast = _R
                                CastSpell(_R)
         elseif lastcast == _Q and myHero:CanUseSpell(_E) == READY
                then
         doSpell(ts, _E, eRange)
          end  
        elseif (DCConfig.longActive and not swapped) or (DCConfig.burstActive and swapped)   and ts ~= nil then
        if myHero:CanUseSpell(_Q) == READY
                then
                   doSpell(ts, _Q, qRange)
                elseif DCConfig.useUlti and (lastcast == _Q or lastcast == _R) and myHero:CanUseSpell(_R) == READY            
         then  
                                lastcast = _R
                                CastSpell(_R)
                elseif (lastcast == _Q or lastcast == _W) and myHero:CanUseSpell(_W) == READY
                then
        doSpell(ts, _W, wRange)
                elseif (lastcast == _Q or lastcast == _E) and myHero:CanUseSpell(_E) == READY
                then
         doSpell(ts, _E, eRange)
            end
        elseif  (DCConfig.burstActive and not swapped) or (DCConfig.longActive and swapped) and ts ~= nil then
          if myHero:CanUseSpell(_Q) == READY
                then
                       doSpell(ts, _Q, qRange)
                elseif DCConfig.useUlti and lastcast == _Q and myHero:CanUseSpell(_R) == READY        
         then  
                                CastSpell(_R)
                elseif (lastcast == _Q or lastcast == _W) and myHero:CanUseSpell(_W) == READY and ts ~= nil
                then
         doSpell(ts, _W, wRange)
                elseif myHero:CanUseSpell(_E) == READY and myHero:CanUseSpell(_W) ~= READY and myHero:CanUseSpell(_Q) ~= READY and ts ~= nil
                then
         doSpell(ts, _E, eRange)
            end
         end
                                end
     
        end
    end
 

 

Opublikowano

 

Jak chcesz tu mogę dać ci mój skrypt pod ryza. Jest zaktualizowany i okrojony ze wszystkich zbędnych funkcji. Dzięki temu masz tylko przydatne opcje. Combo standardowo Space, na stun combo X a na long combo Z.

 

 

if GetMyHero().charName == "Ryze" then


qRange = 600
wRange = 600
eRange = 600
rRange = 200 -- Range of your ulti AOE




function OnLoad()
        lastcast = _R
        DCConfig = scriptConfig("Ryze Combo", "Ryze")
        DCConfig:addParam("burstActive", "Burst Combo", SCRIPT_PARAM_ONKEYDOWN, false, 32)
        DCConfig:addParam("longActive", "Long Combo", SCRIPT_PARAM_ONKEYDOWN, false, 90)
        DCConfig:addParam("catchActive", "Catch Combo", SCRIPT_PARAM_ONKEYDOWN, false, 88)
        DCConfig:addParam("useUlti", "Use ultimate in combos", SCRIPT_PARAM_ONOFF, true)
        DCConfig:addParam("swapCombos", "Swap burst and long on high cdr", SCRIPT_PARAM_ONOFF, true)
        DCConfig:addParam("drawcircles", "Draw Circles", SCRIPT_PARAM_ONOFF, true)
        PrintChat ("Ultimate Ryze 1.6 by bnsfg loaded! Original script by TRUS.")
        ts = TargetSelector(TARGET_LESS_CAST_PRIORITY,qRange,DAMAGE_MAGIC,false)
        ts.name = "Ryze"
        DCConfig:addTS(ts)
        qDmg = math.floor(35+25*player:GetSpellData(_Q).level-1 + player.ap*0.4 +
player.maxMana*0.065)
end


function doSpell(ts, spell, range)
        if ts.target ~= nil and GetMyHero():CanUseSpell(spell) == READY and GetDistance(ts.target)<=range then
                CastSpell(spell, ts.target)
                 lastcast = spell
        end
end


function OnDraw()
    if myHero.dead then return end  
         if DCConfig.useUlti then
        DrawText("Using ultimate in combos",20,100,20,0xFF80FF00)
                end
          if DCConfig.catchActive then
        DrawText("Catch Active",16,100,80,0xFF80FF00)
    elseif DCConfig.longActive then
        DrawText("Long Active",16,100,80,0xFF80FF00)
    elseif DCConfig.burstActive then
        DrawText("Burst Active",16,100,80,0xFF80FF00)
                end
        if DCConfig.drawcircles then
                                local color = 0xFF80FF00
                                local swapped = DCConfig.swapCombos and myHero.cdr <= -0.35
                                if DCConfig.catchActive then
                                color = 0x0062FF
                                end
                                if (DCConfig.burstActive and not swapped) or (DCConfig.longActive and swapped) then color = 0xED850E
                                end
                                if (DCConfig.longActive and not swapped) or (DCConfig.burstActive and swapped) then color = 0xED0E0E
                                end
                                DrawCircle(myHero.x, myHero.y, myHero.z, qRange, color)
                       
         local wDmg = math.floor(25+35*player:GetSpellData(_W).level-1 + player.ap*0.6 +
player.maxMana*0.045)
         local eDmg = math.floor(30+20*player:GetSpellData(_E).level-1 + player.ap*0.35 +
player.maxMana*0.01)
         local fullComboDamage = (qDmg*3)+wDmg+(eDmg*2)
         DrawText("Full combo damage: " .. fullComboDamage, 16, 100, 0, 0xFFFF0000)
                if ts.target ~= nil then
                                local enemyInRange = 0
                                        for i = 1, heroManager.iCount, 1 do
                                local hero = heroManager:getHero(i)
                                if ValidTargetNear(hero, rRange, ts.target) then
                                        enemyInRange = enemyInRange + 1
                                        DrawCircle(hero.x, hero.y, hero.z, 100, 0xFF8400FF)
                                        end
                                end
        DrawText("Targetting: " .. ts.target.charName, 16, 100, 100, 0xFFFF0000)
        DrawCircle(ts.target.x, ts.target.y, ts.target.z, 100, 0xFF80FF00)
    end
        end
end




function OnWndMsg(msg,key)
        if DCConfig.longActive and DCConfig.catchActive then
                DCConfig.useUlti=not DCConfig.useUlti
        end
     


end


function OnTick()
        ts:update()
        if not DCConfig.burstActive and not DCConfig.longActive and not DCConfig.catchActive then lastcast = _R end
        qDmg = math.floor(35+25*player:GetSpellData(_Q).level-1 + player.ap*0.4 +
player.maxMana*0.065)
        local swapped = DCConfig.swapCombos and myHero.cdr <= -0.35
        if not myHero.dead then
        if (DCConfig.catchActive and ts ~= nil) then
                if myHero:CanUseSpell(_W) == READY then
                     doSpell(ts, _W, wRange)
                elseif (lastcast == _W or lastcast == _E or lastcast == _R) and myHero:CanUseSpell(_Q) == READY
         then
         doSpell(ts, _Q, qRange)
         elseif DCConfig.useUlti and lastcast == _Q and myHero:CanUseSpell(_R) == READY        
         then  
                                lastcast = _R
                                CastSpell(_R)
         elseif lastcast == _Q and myHero:CanUseSpell(_E) == READY
                then
         doSpell(ts, _E, eRange)
          end  
        elseif (DCConfig.longActive and not swapped) or (DCConfig.burstActive and swapped)   and ts ~= nil then
        if myHero:CanUseSpell(_Q) == READY
                then
                   doSpell(ts, _Q, qRange)
                elseif DCConfig.useUlti and (lastcast == _Q or lastcast == _R) and myHero:CanUseSpell(_R) == READY            
         then  
                                lastcast = _R
                                CastSpell(_R)
                elseif (lastcast == _Q or lastcast == _W) and myHero:CanUseSpell(_W) == READY
                then
        doSpell(ts, _W, wRange)
                elseif (lastcast == _Q or lastcast == _E) and myHero:CanUseSpell(_E) == READY
                then
         doSpell(ts, _E, eRange)
            end
        elseif  (DCConfig.burstActive and not swapped) or (DCConfig.longActive and swapped) and ts ~= nil then
          if myHero:CanUseSpell(_Q) == READY
                then
                       doSpell(ts, _Q, qRange)
                elseif DCConfig.useUlti and lastcast == _Q and myHero:CanUseSpell(_R) == READY        
         then  
                                CastSpell(_R)
                elseif (lastcast == _Q or lastcast == _W) and myHero:CanUseSpell(_W) == READY and ts ~= nil
                then
         doSpell(ts, _W, wRange)
                elseif myHero:CanUseSpell(_E) == READY and myHero:CanUseSpell(_W) ~= READY and myHero:CanUseSpell(_Q) ~= READY and ts ~= nil
                then
         doSpell(ts, _E, eRange)
            end
         end
                                end
     
        end
    end
 

 

Możesz nie podpisywać się pod czyjąś pracę? To Ultimate Ryze 1.6 z forum BoL. Po drugie, skrypt jest outdated - źle skopiowałeś, kolego.

 

@top:

Kopiujesz cały skrypt, to na górze to tylko zakomentowana notatka o autorze, ale bardziej polecam SBTW od TRUS'a - działa szybciej i ma mniej zbędnych funkcji.

Opublikowano

Ja nie podpisuje się pod czyjąś pracę. Chodziło mi o skrypt którego ja używam a nie który ja stworzyłem. Mi skrypt działa w 100% i jest dobrze skopiowany.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...