Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --done my Laiha senpai , credits to Inspipred for dmg calc
- require('Inspired')
- require('IWalk')
- AddInfo("Katarina", "Katarina:")
- AddButton("Draw", "Killable Circle", true)
- AddButton("Check", "Overdamage check", true)
- --worst script 2015 #fpsdrops #lowquality #scripterwannabe
- OnLoop(function(myHero)
- myHero = GetMyHero()
- local unit = GetCurrentTarget()
- local myhp=GetCurrentHP(myHero)
- if((GetCurrentHP(myHero)/(GetMaxHP(myHero)/100))) < 26 and GetItemSlot(myHero,3153)>3157 then
- CastTargetSpell(myHero, GetItemSlot(myHero,3153))
- end
- if KeyIsDown(0x5A) then
- wardjumpthatbitch()
- end
- if isKillableEasy(unit) then
- if IsInDistance(unit, 675) and CanUseSpell(myHero, _Q) == READY then
- CastTargetSpell(unit, _Q)
- end
- if IsInDistance(unit, 375) and CanUseSpell(myHero, _W) == READY and GetButtonValue("W") then
- CastTargetSpell(myHero, _W)
- end
- if IsInDistance(unit, 700) and CanUseSpell(myHero, _E) == READY and GetButtonValue("E") then
- CastTargetSpell(unit, _E)
- end
- end
- if isKillable(unit) and GetCastLevel(myHero,_R) > 0 and CanUseSpell(myHero, _R) then
- if IsInDistance(unit, 675) and CanUseSpell(myHero, _Q) == READY then
- CastTargetSpell(unit, _Q)
- end
- if IsInDistance(unit, 375) and CanUseSpell(myHero, _W) == READY and GetButtonValue("W") then
- CastTargetSpell(myHero, _W)
- end
- if IsInDistance(unit, 700) and CanUseSpell(myHero, _E) == READY and GetButtonValue("E") then
- CastTargetSpell(unit, _E)
- end
- if IsInDistance(unit, 550) then
- HoldPosition()
- waitTickCount = GetTickCount() + 50
- CastTargetSpell(myHero, _R)
- end
- end
- end)
- --auto E away #laihapr0logic #dontjudgemeplease
- --AddGapcloseEvent(_E,700,GetLowestMinion(GetOrigin(myHero), 700, MINION_ALLY)
- --kata R logic leeched from inspired senpaaai
- OnProcessSpell(function(unit, spell)
- if unit and unit == myHero and spell then
- if spell.name:lower():find("katarinar") then
- waitTickCount = GetTickCount() + 2500
- end
- end
- end)
- --useless functions made by laiha senpai here
- function isKillable(unit,myHero)
- myHero = GetMyHero()
- local AP = GetBonusAP(myHero)
- local dmgq= CalcDamage(myHero, unit, 0, 35+25*GetCastLevel(myHero,_Q)+0.45*AP) * 1.25
- local dmgw= CalcDamage(myHero, unit, 0, 5+35*GetCastLevel(myHero,_W)+0.25*AP+0.6*TotalDmg)
- local dmge= CalcDamage(myHero, unit, 0, 10+30*GetCastLevel(myHero,_E)+0.25*AP)
- local dmgr= CalcDamage(myHero, unit, 0, 30+10*GetCastLevel(myHero,_R)+0.2*AP+0.3*GetBonusDmg(myHero)) * 10
- local hp=GetCurrentHp(unit)
- local unitPos=GetOrigin(unit)
- killable=false
- easy=false
- if dmgq+dmgw+dmge+dmgr>hp then
- DrawCircle(unit.x,unit.y,unit.z,25,1,1,0xff00ff00)
- killable=true
- end
- return killable
- end
- --useless function n2 made by Laiha senpai so we have less fps (+fps drops)
- function isKillableEasy(unit,myHero)
- myHero = GetMyHero()
- local AP = GetBonusAP(myHero)
- local dmgq= CalcDamage(myHero, unit, 0, 35+25*GetCastLevel(myHero,_Q)+0.45*AP) * 1.25
- local dmgw= CalcDamage(myHero, unit, 0, 5+35*GetCastLevel(myHero,_W)+0.25*AP+0.6*TotalDmg)
- local dmge= CalcDamage(myHero, unit, 0, 10+30*GetCastLevel(myHero,_E)+0.25*AP)
- local dmgr= CalcDamage(myHero, unit, 0, 30+10*GetCastLevel(myHero,_R)+0.2*AP+0.3*GetBonusDmg(myHero)) * 10
- local hp=GetCurrentHp(unit)
- local unitPos=GetOrigin(unit)
- easy=false
- if dmgq+dmgw+dmge>hp then
- easy=true
- DrawCircle(unit.x,unit.y,unit.z,25,1,1,0xffff0000)
- end
- return easy
- end
- --if you copy that func please CREDITS , ty student , Laiha senpai is proud of you
- --function wardjumpthatbitch(myHero)
- --local creep=ClosestMinion(MyHeroPos,MINION_ALLY)
- --if(GetDistance(GetOrigin(creep),GetOrigin(myHero))<700 and CanUseSpell(myHero,_E)== READY then
- -- CastTargetSpell(creep,_E)
- --end
- --end
Advertisement
Add Comment
Please, Sign In to add comment