Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Irelia Simple Script

Irelia

  • Please log in to reply
12 replies to this topic

#1
Demon

Demon

    Advanced Member

  • Members
  • 64 posts

Champion: Irelia

 

Feature:

A hot key that last hits minions with Q instead of auto attacks.

Similar to last hit feature, except with her Q. It'd be more efficient in later phases of the game.

 

I would do this myself but I'm not acquainted to lua language and GOS API.

I don't want to put in a months time to learn when it takes probably a few minutes to code this in for people who are already comfortable with the language.

 

EDIT:

Not really a coding master or anything but I just thought of some pseudo code...

 

If Minion In Range Then

     If Minion Health < Get Q Damage (DamagePrediction) & Q Not On Cooldown Then

          Q On Minion


  • 0

#2
Hanndel

Hanndel

    datebest.net - visit website and win smartphone!

  • Contributor
  • 604 posts
  • Locationhttps://t.me/pump_upp

its done already, just wait 1 week +- until release


  • 0

#3
Imstuckinhell

Imstuckinhell

    l o a d s e m o n e

  • +VIP
  • 841 posts

https://raw.githubus...QWER Series.lua

 

we have one already, here :)


  • 0

#4
Hanndel

Hanndel

    datebest.net - visit website and win smartphone!

  • Contributor
  • 604 posts
  • Locationhttps://t.me/pump_upp

https://raw.githubus...QWER Series.lua

 

we have one already, here :)

not sure if working


  • 0

#5
Demon

Demon

    Advanced Member

  • Members
  • 64 posts

its done already, just wait 1 week +- until release

 

Alright. Thanks. Mods can close this thread.


  • 0

#6
allwillburn

allwillburn

    Advanced Member

  • Members
  • 210 posts

raw.githubusercontent.com/allwillburn/IreliaAutoQ/master/IreliaAutoQ.lua

 

this should work


  • 0

#7
Zwei

Zwei

    Advanced Member

  • Contributor
  • 2,201 posts

raw.githubusercontent.com/allwillburn/IreliaAutoQ/master/IreliaAutoQ.lua

 

this should work

no because you need to recalc the damage for every creep every tick. You just define a value once.

Also Q is targeted and now self cast

if GetObjectName(GetMyHero()) ~= "Irelia" then return end

local BonusAD = GetBonusDmg(myHero)
local BaseAD = GetBaseDamage(myHero)
local QDmg = 20 + 30 * GetCastLevel(myHero, _Q) + (BaseAD + BonusAD) * 1.2
local QRange = 650

local IreliaMenu = Menu("Irelia", "Irelia")

IreliaMenu:SubMenu("Farm", "Farm")
IreliaMenu.Farm:Boolean("Q", "AutoQ", true)

OnTick(function (myHero)
 
BonusAD = GetBonusDmg(myHero)
BaseAD = GetBaseDamage(myHero)
QDmg = 20 + 30 * GetCastLevel(myHero, _Q) + (BaseAD + BonusAD) * 1.2

--Auto Q on minions
    for _, minion in pairs(minionManager.objects) do
        if IreliaMenu.Farm.Q:Value() and if Ready(_Q) and ValidTarget(minion, QRange) and GetCurrentHP(minion) < CalcDamage(myHero,minion,QDmg,0) then
            CastTargetSpell(minion,_Q)
        end
end
end)

  • 0

#8
Hanndel

Hanndel

    datebest.net - visit website and win smartphone!

  • Contributor
  • 604 posts
  • Locationhttps://t.me/pump_upp

Or just wait until release Doge


  • 0

#9
Demon

Demon

    Advanced Member

  • Members
  • 64 posts

 

no because you need to recalc the damage for every creep every tick. You just define a value once.

Also Q is targeted and now self cast

if GetObjectName(GetMyHero()) ~= "Irelia" then return end

local BonusAD = GetBonusDmg(myHero)
local BaseAD = GetBaseDamage(myHero)
local QDmg = 20 + 30 * GetCastLevel(myHero, _Q) + (BaseAD + BonusAD) * 1.2
local QRange = 650

local IreliaMenu = Menu("Irelia", "Irelia")

IreliaMenu:SubMenu("Farm", "Farm")
IreliaMenu.Farm:Boolean("Q", "AutoQ", true)

OnTick(function (myHero)
 
BonusAD = GetBonusDmg(myHero)
BaseAD = GetBaseDamage(myHero)
QDmg = 20 + 30 * GetCastLevel(myHero, _Q) + (BaseAD + BonusAD) * 1.2

--Auto Q on minions
    for _, minion in pairs(minionManager.objects) do
        if IreliaMenu.Farm.Q:Value() and if Ready(_Q) and ValidTarget(minion, QRange) and GetCurrentHP(minion) < CalcDamage(myHero,minion,QDmg,0) then
            CastTargetSpell(minion,_Q)
        end
end
end)

 

Whenever I try loading this in, it says error loading lua because there is an unexpected symbol near if. I don't know which symbols GOS reads but I couldn't manage to edit any myself and get it working. Thanks for the try.


  • 0

#10
Ryzuki

Ryzuki

    Advanced Member

  • Contributor
  • 297 posts
  • LocationOsu!z
http://gamingonstero...tyblade-irelia/

Why you didn't check champion section first?
  • 0

#11
Demon

Demon

    Advanced Member

  • Members
  • 64 posts

http://gamingonstero...tyblade-irelia/

Why you didn't check champion section first?

 

I searched Irelia in the search bar and no threads came up. I'll test this one out too, thanks.


  • 0

#12
allwillburn

allwillburn

    Advanced Member

  • Members
  • 210 posts

raw.githubusercontent.com/allwillburn/IreliaAutoQ/master/IreliaAutoQ.lua

 

this should work

               thanx zwei  ...           fixed.  does some butter autofarm now.    # teamwork      prob get banned though for using it. 


  • 0

#13
Demon

Demon

    Advanced Member

  • Members
  • 64 posts

               thanx zwei  ...           fixed.  does some butter autofarm now.    # teamwork      prob get banned though for using it. 

 

I got banned, lol... Sad life. I think it's because the auto q farms much faster than actual humans can process. Thanks though.


  • 0





Also tagged with one or more of these keywords: Irelia

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users