SHOW:
|
|
- or go back to the newest paste.
| 1 | player = GetMyHero() | |
| 2 | ||
| 3 | skillshotArray = {
| |
| 4 | } | |
| 5 | colorcyan = 0x0000FFFF | |
| 6 | coloryellow = 0xFFFFFF00 | |
| 7 | colorgreen = 0xFF00FF00 | |
| 8 | drawskillshot = true | |
| 9 | playerradius = 150 | |
| 10 | skillshotcharexist = false | |
| 11 | dodgeskillshotkey = string.byte("J") --dodge skillshot key J
| |
| 12 | ||
| 13 | function round(num, idp) | |
| 14 | local mult = 10^(idp or 0) | |
| 15 | return math.floor(num * mult + 0.5) / mult | |
| 16 | end | |
| 17 | ||
| 18 | function dodgeaoe(pos1, pos2, radius) | |
| 19 | local calc = (math.floor(math.sqrt((pos2.x-player.x)^2 + (pos2.z-player.z)^2))) | |
| 20 | local dodgex | |
| 21 | local dodgez | |
| 22 | dodgex = pos2.x + ((radius+150)/calc)*(player.x-pos2.x) | |
| 23 | dodgez = pos2.z + ((radius+150)/calc)*(player.z-pos2.z) | |
| 24 | if calc < radius and DodgeConf.DodgeOn == true then | |
| 25 | player:MoveTo(dodgex,dodgez) | |
| 26 | end | |
| 27 | end | |
| 28 | ||
| 29 | function dodgelinepoint(pos1, pos2, radius) | |
| 30 | local calc1 = (math.floor(math.sqrt((pos2.x-player.x)^2 + (pos2.z-player.z)^2))) | |
| 31 | local calc2 = (math.floor(math.sqrt((pos1.x-player.x)^2 + (pos1.z-player.z)^2))) | |
| 32 | local calc4 = (math.floor(math.sqrt((pos1.x-pos2.x)^2 + (pos1.z-pos2.z)^2))) | |
| 33 | local calc3 | |
| 34 | local perpendicular | |
| 35 | local k | |
| 36 | local x4 | |
| 37 | local z4 | |
| 38 | local dodgex | |
| 39 | local dodgez | |
| 40 | perpendicular = (math.floor((math.abs((pos2.x-pos1.x)*(pos1.z-player.z)-(pos1.x-player.x)*(pos2.z-pos1.z)))/(math.sqrt((pos2.x-pos1.x)^2 + (pos2.z-pos1.z)^2)))) | |
| 41 | k = ((pos2.z-pos1.z)*(player.x-pos1.x) - (pos2.x-pos1.x)*(player.z-pos1.z)) / ((pos2.z-pos1.z)^2 + (pos2.x-pos1.x)^2) | |
| 42 | x4 = player.x - k * (pos2.z-pos1.z) | |
| 43 | z4 = player.z + k * (pos2.x-pos1.x) | |
| 44 | calc3 = (math.floor(math.sqrt((x4-player.x)^2 + (z4-player.z)^2))) | |
| 45 | dodgex = x4 + ((radius+150)/calc3)*(player.x-x4) | |
| 46 | dodgez = z4 + ((radius+150)/calc3)*(player.z-z4) | |
| 47 | if perpendicular < radius and calc1 < calc4 and calc2 < calc4 and DodgeConf.DodgeOn == true then | |
| 48 | player:MoveTo(dodgex,dodgez) | |
| 49 | end | |
| 50 | end | |
| 51 | ||
| 52 | function dodgelinepass(pos1, pos2, radius, maxDist) | |
| 53 | local pm2x = pos1.x + (maxDist)/(math.floor(math.sqrt((pos1.x-pos2.x)^2 + (pos1.z-pos2.z)^2)))*(pos2.x-pos1.x) | |
| 54 | local pm2z = pos1.z + (maxDist)/(math.floor(math.sqrt((pos1.x-pos2.x)^2 + (pos1.z-pos2.z)^2)))*(pos2.z-pos1.z) | |
| 55 | local calc1 = (math.floor(math.sqrt((pm2x-player.x)^2 + (pm2z-player.z)^2))) | |
| 56 | local calc2 = (math.floor(math.sqrt((pos1.x-player.x)^2 + (pos1.z-player.z)^2))) | |
| 57 | local calc3 | |
| 58 | local calc4 = (math.floor(math.sqrt((pos1.x-pm2x)^2 + (pos1.z-pm2z)^2))) | |
| 59 | local perpendicular | |
| 60 | local k | |
| 61 | local x4 | |
| 62 | local z4 | |
| 63 | local dodgex | |
| 64 | local dodgez | |
| 65 | perpendicular = (math.floor((math.abs((pm2x-pos1.x)*(pos1.z-player.z)-(pos1.x-player.x)*(pm2z-pos1.z)))/(math.sqrt((pm2x-pos1.x)^2 + (pm2z-pos1.z)^2)))) | |
| 66 | k = ((pm2z-pos1.z)*(player.x-pos1.x) - (pm2x-pos1.x)*(player.z-pos1.z)) / ((pm2z-pos1.z)^2 + (pm2x-pos1.x)^2) | |
| 67 | x4 = player.x - k * (pm2z-pos1.z) | |
| 68 | z4 = player.z + k * (pm2x-pos1.x) | |
| 69 | calc3 = (math.floor(math.sqrt((x4-player.x)^2 + (z4-player.z)^2))) | |
| 70 | dodgex = x4 + ((radius+150)/calc3)*(player.x-x4) | |
| 71 | dodgez = z4 + ((radius+150)/calc3)*(player.z-z4) | |
| 72 | if perpendicular < radius and calc1 < calc4 and calc2 < calc4 and DodgeConf.DodgeOn == true then | |
| 73 | player:MoveTo(dodgex,dodgez) | |
| 74 | end | |
| 75 | end | |
| 76 | ||
| 77 | ||
| 78 | function calculateLinepass(pos1, pos2, spacing, maxDist) | |
| 79 | local calc = (math.floor(math.sqrt((pos2.x-pos1.x)^2 + (pos2.z-pos1.z)^2))) | |
| 80 | local line = {}
| |
| 81 | local point1 = {}
| |
| 82 | point1.x = pos1.x | |
| 83 | point1.y = pos1.y | |
| 84 | point1.z = pos1.z | |
| 85 | local point2 = {}
| |
| 86 | point1.x = pos1.x + (maxDist)/calc*(pos2.x-pos1.x) | |
| 87 | point1.y = pos2.y | |
| 88 | point1.z = pos1.z + (maxDist)/calc*(pos2.z-pos1.z) | |
| 89 | table.insert(line, point2) | |
| 90 | table.insert(line, point1) | |
| 91 | return line | |
| 92 | end | |
| 93 | ||
| 94 | function calculateLineaoe(pos1, pos2, maxDist) | |
| 95 | local line = {}
| |
| 96 | local point = {}
| |
| 97 | point.x = pos2.x | |
| 98 | point.y = pos2.y | |
| 99 | point.z = pos2.z | |
| 100 | table.insert(line, point) | |
| 101 | return line | |
| 102 | end | |
| 103 | ||
| 104 | function calculateLineaoe2(pos1, pos2, maxDist) | |
| 105 | local calc = (math.floor(math.sqrt((pos2.x-pos1.x)^2 + (pos2.z-pos1.z)^2))) | |
| 106 | local line = {}
| |
| 107 | local point = {}
| |
| 108 | if calc < maxDist then | |
| 109 | point.x = pos2.x | |
| 110 | point.y = pos2.y | |
| 111 | point.z = pos2.z | |
| 112 | table.insert(line, point) | |
| 113 | else | |
| 114 | point.x = pos1.x + maxDist/calc*(pos2.x-pos1.x) | |
| 115 | point.z = pos1.z + maxDist/calc*(pos2.z-pos1.z) | |
| 116 | point.y = pos2.y | |
| 117 | table.insert(line, point) | |
| 118 | end | |
| 119 | return line | |
| 120 | end | |
| 121 | ||
| 122 | function calculateLinepoint(pos1, pos2, spacing, maxDist) | |
| 123 | local line = {}
| |
| 124 | local point1 = {}
| |
| 125 | point1.x = pos1.x | |
| 126 | point1.y = pos1.y | |
| 127 | point1.z = pos1.z | |
| 128 | local point2 = {}
| |
| 129 | point1.x = pos2.x | |
| 130 | point1.y = pos2.y | |
| 131 | point1.z = pos2.z | |
| 132 | table.insert(line, point2) | |
| 133 | table.insert(line, point1) | |
| 134 | return line | |
| 135 | end | |
| 136 | ||
| 137 | ||
| 138 | function OnProcessSpell(unit, spell) | |
| 139 | local P1 = spell.startPos | |
| 140 | local P2 = spell.endPos | |
| 141 | local calc = (math.floor(math.sqrt((P2.x-unit.x)^2 + (P2.z-unit.z)^2))) | |
| 142 | if string.find(unit.name,"Minion_") == nil and string.find(unit.name,"Turret_") == nil then | |
| 143 | --PrintChat("Playername:".. unit.charName.."|Skillshot:".. spell.name.."|Distance:"..math.floor(math.sqrt((P2.x-player.x)^2 + (P2.z-player.z)^2)))
| |
| 144 | if unit.team ~= player.team and string.find(spell.name,"Basic") == nil then | |
| 145 | for i=1, #skillshotArray, 1 do | |
| 146 | local maxdist | |
| 147 | local dodgeradius | |
| 148 | dodgeradius = skillshotArray[i].radius | |
| 149 | maxdist = skillshotArray[i].maxdistance | |
| 150 | if spell.name == skillshotArray[i].name then | |
| 151 | skillshotArray[i].shot = 1 | |
| 152 | skillshotArray[i].lastshot = os.clock() | |
| 153 | if skillshotArray[i].type == 1 then | |
| 154 | skillshotArray[i].p1x = unit.x | |
| 155 | skillshotArray[i].p1y = unit.y | |
| 156 | skillshotArray[i].p1z = unit.z | |
| 157 | skillshotArray[i].p2x = unit.x + (maxdist)/calc*(P2.x-unit.x) | |
| 158 | skillshotArray[i].p2y = P2.y | |
| 159 | skillshotArray[i].p2z = unit.z + (maxdist)/calc*(P2.z-unit.z) | |
| 160 | dodgelinepass(unit, P2, dodgeradius, maxdist) | |
| 161 | elseif skillshotArray[i].type == 2 then | |
| 162 | skillshotArray[i].px = P2.x | |
| 163 | skillshotArray[i].py = P2.y | |
| 164 | skillshotArray[i].pz = P2.z | |
| 165 | dodgelinepoint(unit, P2, dodgeradius) | |
| 166 | elseif skillshotArray[i].type == 3 then | |
| 167 | skillshotArray[i].skillshotpoint = calculateLineaoe(unit, P2, maxdist) | |
| 168 | if skillshotArray[i].name ~= "SummonerClairvoyance" then | |
| 169 | dodgeaoe(unit, P2, dodgeradius) | |
| 170 | end | |
| 171 | elseif skillshotArray[i].type == 4 then | |
| 172 | skillshotArray[i].px = unit.x + (maxdist)/calc*(P2.x-unit.x) | |
| 173 | skillshotArray[i].py = P2.y | |
| 174 | skillshotArray[i].pz = unit.z + (maxdist)/calc*(P2.z-unit.z) | |
| 175 | dodgelinepass(unit, P2, dodgeradius, maxdist) | |
| 176 | elseif skillshotArray[i].type == 5 then | |
| 177 | skillshotArray[i].skillshotpoint = calculateLineaoe2(unit, P2, maxdist) | |
| 178 | dodgeaoe(unit, P2, dodgeradius) | |
| 179 | end | |
| 180 | end | |
| 181 | end | |
| 182 | end | |
| 183 | end | |
| 184 | end | |
| 185 | ||
| 186 | function OnDraw() | |
| 187 | if drawskillshot == true then | |
| 188 | for i=1, #skillshotArray, 1 do | |
| 189 | if skillshotArray[i].shot == 1 then | |
| 190 | local radius = skillshotArray[i].radius | |
| 191 | local color = skillshotArray[i].color | |
| 192 | if skillshotArray[i].isline == false then | |
| 193 | for number, point in pairs(skillshotArray[i].skillshotpoint) do | |
| 194 | DrawCircle(point.x, point.y, point.z, radius, color) | |
| 195 | end | |
| 196 | else | |
| 197 | startVector = Vector(skillshotArray[i].p1x,skillshotArray[i].p1y,skillshotArray[i].p1z) | |
| 198 | endVector = Vector(skillshotArray[i].p2x,skillshotArray[i].p2y,skillshotArray[i].p2z) | |
| 199 | directionVector = (endVector-startVector):normalized() | |
| 200 | DrawArrow(D3DXVECTOR3(startVector.x, startVector.y, startVector.z), D3DXVECTOR3(directionVector.x, directionVector.y, directionVector.z), GetDistance(startVector, endVector)+170, radius, 10000000000000000000000, color) | |
| 201 | end | |
| 202 | end | |
| 203 | end | |
| 204 | end | |
| 205 | -- DrawCircle(player.x, player.y, player.z, playerradius, coloryellow) | |
| 206 | --[[startVector = Vector(player) | |
| 207 | endVector = Vector(mousePos) | |
| 208 | directionVector = (endVector-startVector):normalized() | |
| 209 | DrawArrow(D3DXVECTOR3(player.x, player.y, player.z), D3DXVECTOR3(directionVector.x, directionVector.y, directionVector.z), GetDistance(startVector, endVector)+60, 100, 10000000000000000000000, RGBA(255,255,255,0))]] | |
| 210 | end | |
| 211 | ||
| 212 | function OnTick(tick) | |
| 213 | for i=1, #skillshotArray, 1 do | |
| 214 | if os.clock() > (skillshotArray[i].lastshot + skillshotArray[i].time) then | |
| 215 | skillshotArray[i].shot = 0 | |
| 216 | end | |
| 217 | end | |
| 218 | end | |
| 219 | ||
| 220 | function loadantiskillshot() | |
| 221 | table.insert(skillshotArray,{name= "SummonerClairvoyance", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 50000, type = 3, radius = 1300, color= coloryellow, time = 6})
| |
| 222 | for i=0, heroManager.iCount, 1 do | |
| 223 | local skillshotplayerObj = heroManager:getHero(i) | |
| 224 | if skillshotplayerObj and skillshotplayerObj.team ~= player.team then | |
| 225 | if skillshotplayerObj.charName == "Ahri" then | |
| 226 | table.insert(skillshotArray,{name= "AhriOrbofDeception", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 880, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
| |
| 227 | table.insert(skillshotArray,{name= "AhriSeduce", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 975, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
| |
| 228 | skillshotcharexist = true | |
| 229 | end | |
| 230 | if skillshotplayerObj.charName == "Amumu" then | |
| 231 | table.insert(skillshotArray,{name= "BandageToss", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
| |
| 232 | skillshotcharexist = true | |
| 233 | end | |
| 234 | if skillshotplayerObj.charName == "Anivia" then | |
| 235 | table.insert(skillshotArray,{name= "FlashFrostSpell", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 90, color= colorcyan, time = 2, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
| |
| 236 | skillshotcharexist = true | |
| 237 | end | |
| 238 | if skillshotplayerObj.charName == "Ashe" then | |
| 239 | table.insert(skillshotArray,{name= "EnchantedCrystalArrow", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 50000, type = 4, radius = 120, color= colorcyan, time = 4, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
| |
| 240 | skillshotcharexist = true | |
| 241 | end | |
| 242 | if skillshotplayerObj.charName == "Blitzcrank" then | |
| 243 | table.insert(skillshotArray,{name= "RocketGrabMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 925, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
| |
| 244 | skillshotcharexist = true | |
| 245 | end | |
| 246 | if skillshotplayerObj.charName == "Brand" then | |
| 247 | table.insert(skillshotArray,{name= "BrandBlazeMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 1, radius = 50, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
| |
| 248 | table.insert(skillshotArray,{name= "BrandFissure", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 249 | skillshotcharexist = true | |
| 250 | end | |
| 251 | if skillshotplayerObj.charName == "Cassiopeia" then | |
| 252 | table.insert(skillshotArray,{name= "CassiopeiaMiasma", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 850, type = 3, radius = 175, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 253 | table.insert(skillshotArray,{name= "CassiopeiaNoxiousBlast", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 850, type = 3, radius = 75, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 254 | skillshotcharexist = true | |
| 255 | end | |
| 256 | if skillshotplayerObj.charName == "Caitlyn" then | |
| 257 | table.insert(skillshotArray,{name= "CaitlynEntrapmentMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 50, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 258 | table.insert(skillshotArray,{name= "CaitlynPiltoverPeacemaker", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1300, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0})
| |
| 259 | skillshotcharexist = true | |
| 260 | end | |
| 261 | if skillshotplayerObj.charName == "Corki" then | |
| 262 | table.insert(skillshotArray,{name= "MissileBarrageMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1225, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 263 | table.insert(skillshotArray,{name= "MissileBarrageMissile2", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1225, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 264 | table.insert(skillshotArray,{name= "CarpetBomb", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 2, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 265 | skillshotcharexist = true | |
| 266 | end | |
| 267 | if skillshotplayerObj.charName == "Chogath" then | |
| 268 | table.insert(skillshotArray,{name= "Rupture", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 3, radius = 275, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 269 | skillshotcharexist = true | |
| 270 | end | |
| 271 | if skillshotplayerObj.charName == "DrMundo" then | |
| 272 | table.insert(skillshotArray,{name= "InfectedCleaverMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 273 | skillshotcharexist = true | |
| 274 | end | |
| 275 | if skillshotplayerObj.charName == "Heimerdinger" then | |
| 276 | table.insert(skillshotArray,{name= "CH1ConcussionGrenade", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 3, radius = 225, color= coloryellow, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 277 | skillshotcharexist = true | |
| 278 | end | |
| 279 | if skillshotplayerObj.charName == "Draven" then | |
| 280 | table.insert(skillshotArray,{name= "DravenDoubleShot", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 1, radius = 125, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 281 | table.insert(skillshotArray,{name= "DravenRCast", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 20000, type = 1, radius = 100, color= colorcyan, time = 4, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 282 | skillshotcharexist = true | |
| 283 | end | |
| 284 | if skillshotplayerObj.charName == "Ezreal" then | |
| 285 | table.insert(skillshotArray,{name= "EzrealEssenceFluxMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 286 | table.insert(skillshotArray,{name= "EzrealMysticShotMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 287 | table.insert(skillshotArray,{name= "EzrealTrueshotBarrage", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 50000, type = 4, radius = 150, color= colorcyan, time = 4, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 288 | table.insert(skillshotArray,{name= "EzrealArcaneShift", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 475, type = 5, radius = 100, color= colorgreen, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 289 | skillshotcharexist = true | |
| 290 | end | |
| 291 | if skillshotplayerObj.charName == "Fizz" then | |
| 292 | table.insert(skillshotArray,{name= "FizzMarinerDoom", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1275, type = 2, radius = 100, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 293 | skillshotcharexist = true | |
| 294 | end | |
| 295 | if skillshotplayerObj.charName == "FiddleSticks" then | |
| 296 | table.insert(skillshotArray,{name= "Crowstorm", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 3, radius = 600, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 297 | skillshotcharexist = true | |
| 298 | end | |
| 299 | if skillshotplayerObj.charName == "Karthus" then | |
| 300 | table.insert(skillshotArray,{name= "LayWaste", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 875, type = 3, radius = 150, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 301 | skillshotcharexist = true | |
| 302 | end | |
| 303 | if skillshotplayerObj.charName == "Galio" then | |
| 304 | table.insert(skillshotArray,{name= "GalioResoluteSmite", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 905, type = 3, radius = 200, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 305 | table.insert(skillshotArray,{name= "GalioRighteousGust", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 120, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 306 | skillshotcharexist = true | |
| 307 | end | |
| 308 | if skillshotplayerObj.charName == "Graves" then | |
| 309 | table.insert(skillshotArray,{name= "GravesChargeShot", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 110, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 310 | table.insert(skillshotArray,{name= "GravesClusterShot", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 750, type = 1, radius = 50, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 311 | table.insert(skillshotArray,{name= "GravesSmokeGrenade", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 3, radius = 275, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 312 | skillshotcharexist = true | |
| 313 | end | |
| 314 | if skillshotplayerObj.charName == "Gragas" then | |
| 315 | table.insert(skillshotArray,{name= "GragasBarrelRoll", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 3, radius = 320, color= coloryellow, time = 2.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 316 | table.insert(skillshotArray,{name= "GragasBodySlam", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 650, type = 2, radius = 60, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 317 | table.insert(skillshotArray,{name= "GragasExplosiveCask", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 3, radius = 400, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 318 | skillshotcharexist = true | |
| 319 | end | |
| 320 | if skillshotplayerObj.charName == "Irelia" then | |
| 321 | table.insert(skillshotArray,{name= "IreliaTranscendentBlades", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1200, type = 1, radius = 80, color= colorcyan, time = 0.8, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 322 | skillshotcharexist = true | |
| 323 | end | |
| 324 | if skillshotplayerObj.charName == "Janna" then | |
| 325 | table.insert(skillshotArray,{name= "HowlingGale", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1700, type = 1, radius = 100, color= colorcyan, time = 2, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 326 | skillshotcharexist = true | |
| 327 | end | |
| 328 | if skillshotplayerObj.charName == "JarvanIV" then | |
| 329 | table.insert(skillshotArray,{name= "JarvanIVDemacianStandard", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 830, type = 3, radius = 150, color= coloryellow, time = 2, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 330 | table.insert(skillshotArray,{name= "JarvanIVDragonStrike", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 770, type = 1, radius = 70, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 331 | table.insert(skillshotArray,{name= "JarvanIVCataclysm", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 650, type = 3, radius = 300, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 332 | skillshotcharexist = true | |
| 333 | end | |
| 334 | if skillshotplayerObj.charName == "Kassadin" then | |
| 335 | table.insert(skillshotArray,{name= "RiftWalk", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 5, radius = 150, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 336 | skillshotcharexist = true | |
| 337 | end | |
| 338 | if skillshotplayerObj.charName == "Katarina" then | |
| 339 | table.insert(skillshotArray,{name= "ShadowStep", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 3, radius = 75, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 340 | skillshotcharexist = true | |
| 341 | end | |
| 342 | if skillshotplayerObj.charName == "Kennen" then | |
| 343 | table.insert(skillshotArray,{name= "KennenShurikenHurlMissile1", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 1, radius = 75, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 344 | skillshotcharexist = true | |
| 345 | end | |
| 346 | if skillshotplayerObj.charName == "KogMaw" then | |
| 347 | table.insert(skillshotArray,{name= "KogMawVoidOozeMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1115, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 348 | table.insert(skillshotArray,{name= "KogMawLivingArtillery", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 2200, type = 3, radius = 200, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 349 | skillshotcharexist = true | |
| 350 | end | |
| 351 | if skillshotplayerObj.charName == "Leblanc" then | |
| 352 | table.insert(skillshotArray,{name= "LeblancSoulShackle", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 353 | table.insert(skillshotArray,{name= "LeblancSoulShackleM", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 354 | table.insert(skillshotArray,{name= "LeblancSlide", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 355 | table.insert(skillshotArray,{name= "LeblancSlideM", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 356 | table.insert(skillshotArray,{name= "leblancslidereturn", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 50, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 357 | table.insert(skillshotArray,{name= "leblancslidereturnm", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 50, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 358 | skillshotcharexist = true | |
| 359 | end | |
| 360 | if skillshotplayerObj.charName == "LeeSin" then | |
| 361 | table.insert(skillshotArray,{name= "BlindMonkQOne", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 975, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 362 | table.insert(skillshotArray,{name= "BlindMonkRKick", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1200, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 363 | skillshotcharexist = true | |
| 364 | end | |
| 365 | if skillshotplayerObj.charName == "Leona" then | |
| 366 | table.insert(skillshotArray,{name= "LeonaZenithBladeMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 367 | skillshotcharexist = true | |
| 368 | end | |
| 369 | if skillshotplayerObj.charName == "Lux" then | |
| 370 | table.insert(skillshotArray,{name= "LuxLightBinding", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1175, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 371 | table.insert(skillshotArray,{name= "LuxLightStrikeKugel", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 3, radius = 300, color= coloryellow, time = 2.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 372 | table.insert(skillshotArray,{name= "LuxMaliceCannon", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 3000, type = 1, radius = 80, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 373 | skillshotcharexist = true | |
| 374 | end | |
| 375 | if skillshotplayerObj.charName == "Lulu" then | |
| 376 | table.insert(skillshotArray,{name= "LuluQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 925, type = 1, radius = 50, color= colorcyan, time = 1, isline = true, px =0, py =0 , pz =0, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 377 | skillshotcharexist = true | |
| 378 | end | |
| 379 | if skillshotplayerObj.charName == "Maokai" then | |
| 380 | table.insert(skillshotArray,{name= "MaokaiTrunkLineMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 381 | table.insert(skillshotArray,{name= "MaokaiSapling2", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 3, radius = 350 , color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 382 | skillshotcharexist = true | |
| 383 | end | |
| 384 | if skillshotplayerObj.charName == "Malphite" then | |
| 385 | table.insert(skillshotArray,{name= "UFSlash", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 325, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 386 | skillshotcharexist = true | |
| 387 | end | |
| 388 | if skillshotplayerObj.charName == "Malzahar" then | |
| 389 | table.insert(skillshotArray,{name= "AlZaharCalloftheVoid", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 100 , color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 390 | table.insert(skillshotArray,{name= "AlZaharNullZone", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 3, radius = 250 , color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 391 | skillshotcharexist = true | |
| 392 | end | |
| 393 | if skillshotplayerObj.charName == "MissFortune" then | |
| 394 | table.insert(skillshotArray,{name= "MissFortuneScattershot", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 3, radius = 400, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 395 | skillshotcharexist = true | |
| 396 | end | |
| 397 | if skillshotplayerObj.charName == "Morgana" then | |
| 398 | table.insert(skillshotArray,{name= "DarkBindingMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1300, type = 1, radius = 100, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 399 | table.insert(skillshotArray,{name= "TormentedSoil", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 350, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 400 | skillshotcharexist = true | |
| 401 | end | |
| 402 | if skillshotplayerObj.charName == "Nautilus" then | |
| 403 | table.insert(skillshotArray,{name= "NautilusAnchorDrag", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 1, radius = 80, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 404 | skillshotcharexist = true | |
| 405 | end | |
| 406 | if skillshotplayerObj.charName == "Nidalee" then | |
| 407 | table.insert(skillshotArray,{name= "JavelinToss", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1500, type = 1, radius = 80, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 408 | skillshotcharexist = true | |
| 409 | end | |
| 410 | if skillshotplayerObj.charName == "Nocturne" then | |
| 411 | table.insert(skillshotArray,{name= "NocturneDuskbringer", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1200, type = 1, radius = 80, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 412 | skillshotcharexist = true | |
| 413 | end | |
| 414 | if skillshotplayerObj.charName == "Olaf" then | |
| 415 | table.insert(skillshotArray,{name= "OlafAxeThrow", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 2, radius = 100, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 416 | skillshotcharexist = true | |
| 417 | end | |
| 418 | if skillshotplayerObj.charName == "Orianna" then | |
| 419 | table.insert(skillshotArray,{name= "OrianaIzunaCommand", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 825, type = 3, radius = 150, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 420 | skillshotcharexist = true | |
| 421 | end | |
| 422 | if skillshotplayerObj.charName == "Renekton" then | |
| 423 | table.insert(skillshotArray,{name= "RenektonSliceAndDice", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 450, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 424 | table.insert(skillshotArray,{name= "renektondice", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 450, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 425 | skillshotcharexist = true | |
| 426 | end | |
| 427 | if skillshotplayerObj.charName == "Rumble" then | |
| 428 | table.insert(skillshotArray,{name= "RumbleGrenadeMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 100, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 429 | table.insert(skillshotArray,{name= "RumbleCarpetBomb", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1700, type = 1, radius = 100, color= coloryellow, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 430 | skillshotcharexist = true | |
| 431 | end | |
| 432 | if skillshotplayerObj.charName == "Sivir" then | |
| 433 | table.insert(skillshotArray,{name= "SpiralBlade", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 434 | skillshotcharexist = true | |
| 435 | end | |
| 436 | if skillshotplayerObj.charName == "Singed" then | |
| 437 | table.insert(skillshotArray,{name= "MegaAdhesive", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 350, color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 438 | skillshotcharexist = true | |
| 439 | end | |
| 440 | if skillshotplayerObj.charName == "Shen" then | |
| 441 | table.insert(skillshotArray,{name= "ShenShadowDash", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 2, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 442 | skillshotcharexist = true | |
| 443 | end | |
| 444 | if skillshotplayerObj.charName == "Shaco" then | |
| 445 | table.insert(skillshotArray,{name= "Deceive", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 500, type = 5, radius = 100, color= colorgreen, time = 3.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 446 | skillshotcharexist = true | |
| 447 | end | |
| 448 | if skillshotplayerObj.charName == "Shyvana" then | |
| 449 | table.insert(skillshotArray,{name= "ShyvanaTransformLeap", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 925, type = 1, radius = 80, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 450 | table.insert(skillshotArray,{name= "ShyvanaFireballMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 451 | skillshotcharexist = true | |
| 452 | end | |
| 453 | if skillshotplayerObj.charName == "Skarner" then | |
| 454 | table.insert(skillshotArray,{name= "SkarnerFracture", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 1, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 455 | skillshotcharexist = true | |
| 456 | end | |
| 457 | if skillshotplayerObj.charName == "Sona" then | |
| 458 | table.insert(skillshotArray,{name= "SonaCrescendo", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 150, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 459 | skillshotcharexist = true | |
| 460 | end | |
| 461 | if skillshotplayerObj.charName == "Sejuani" then | |
| 462 | table.insert(skillshotArray,{name= "SejuaniGlacialPrison", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1150, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 463 | skillshotcharexist = true | |
| 464 | end | |
| 465 | if skillshotplayerObj.charName == "Swain" then | |
| 466 | table.insert(skillshotArray,{name= "SwainShadowGrasp", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 265 , color= coloryellow, time = 1.5, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 467 | skillshotcharexist = true | |
| 468 | end | |
| 469 | if skillshotplayerObj.charName == "Tryndamere" then | |
| 470 | table.insert(skillshotArray,{name= "Slash", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 2, radius = 100, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 471 | skillshotcharexist = true | |
| 472 | end | |
| 473 | if skillshotplayerObj.charName == "Tristana" then | |
| 474 | table.insert(skillshotArray,{name= "RocketJump", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 200, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 475 | skillshotcharexist = true | |
| 476 | end | |
| 477 | if skillshotplayerObj.charName == "TwistedFate" then | |
| 478 | table.insert(skillshotArray,{name= "WildCards", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1450, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 479 | skillshotcharexist = true | |
| 480 | end | |
| 481 | if skillshotplayerObj.charName == "Urgot" then | |
| 482 | table.insert(skillshotArray,{name= "UrgotHeatseekingLineMissile", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 80, color= colorcyan, time = 0.8, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 483 | table.insert(skillshotArray,{name= "UrgotPlasmaGrenade", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 3, radius = 300, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 484 | skillshotcharexist = true | |
| 485 | end | |
| 486 | if skillshotplayerObj.charName == "Vayne" then | |
| 487 | table.insert(skillshotArray,{name= "VayneTumble", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 250, type = 3, radius = 100, color= colorgreen, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 488 | skillshotcharexist = true | |
| 489 | end | |
| 490 | if skillshotplayerObj.charName == "Varus" then | |
| 491 | --table.insert(skillshotArray,{name= "VarusQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1475, type = 1, radius = 50, color= coloryellow, time = 1})
| |
| 492 | table.insert(skillshotArray,{name= "VarusR", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1075, type = 1, radius = 80, color= colorcyan, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 493 | skillshotcharexist = true | |
| 494 | end | |
| 495 | if skillshotplayerObj.charName == "Veigar" then | |
| 496 | table.insert(skillshotArray,{name= "VeigarDarkMatter", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 225, color= coloryellow, time = 2, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 497 | skillshotcharexist = true | |
| 498 | end | |
| 499 | if skillshotplayerObj.charName == "Viktor" then | |
| 500 | --table.insert(skillshotArray,{name= "ViktorDeathRay", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 700, type = 1, radius = 80, color= coloryellow, time = 2})
| |
| 501 | end | |
| 502 | if skillshotplayerObj.charName == "Xerath" then | |
| 503 | table.insert(skillshotArray,{name= "xeratharcanopulsedamage", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 504 | table.insert(skillshotArray,{name= "xeratharcanopulsedamageextended", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1300, type = 1, radius = 80, color= colorcyan, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 505 | table.insert(skillshotArray,{name= "xeratharcanebarragewrapper", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 506 | table.insert(skillshotArray,{name= "xeratharcanebarragewrapperext", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1300, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 507 | skillshotcharexist = true | |
| 508 | end | |
| 509 | if skillshotplayerObj.charName == "Ziggs" then | |
| 510 | table.insert(skillshotArray,{name= "ZiggsQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 850, type = 3, radius = 160, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 511 | table.insert(skillshotArray,{name= "ZiggsW", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 3, radius = 225 , color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 512 | table.insert(skillshotArray,{name= "ZiggsE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 250, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 513 | table.insert(skillshotArray,{name= "ZiggsR", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 5300, type = 3, radius = 550, color= coloryellow, time = 3, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 514 | skillshotcharexist = true | |
| 515 | end | |
| 516 | if skillshotplayerObj.charName == "Zyra" then | |
| 517 | table.insert(skillshotArray,{name= "ZyraQFissure", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 825, type = 3, radius = 275, color= coloryellow, time = 1.5, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 518 | table.insert(skillshotArray,{name= "ZyraGraspingRoots", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1100, type = 1, radius = 90, color= colorcyan, time = 2, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 519 | skillshotcharexist = true | |
| 520 | end | |
| 521 | if skillshotplayerObj.charName == "Diana" then | |
| 522 | table.insert(skillshotArray,{name= "DianaArc", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 3, radius = 205, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 523 | skillshotcharexist = true | |
| 524 | end | |
| 525 | if skillshotplayerObj.charName == "Syndra" then | |
| 526 | table.insert(skillshotArray,{name= "SyndraQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 800, type = 3, radius = 190, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 527 | table.insert(skillshotArray,{name= "syndrawcast", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 950, type = 3, radius = 210, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 528 | skillshotcharexist = true | |
| 529 | end | |
| 530 | if skillshotplayerObj.charName == "Khazix" then | |
| 531 | table.insert(skillshotArray,{name= "KhazixW", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 70, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 532 | table.insert(skillshotArray,{name= "khazixwlong", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1000, type = 1, radius = 400, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 533 | table.insert(skillshotArray,{name= "KhazixE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 600, type = 5, radius = 310, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 534 | table.insert(skillshotArray,{name= "khazixelong", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 5, radius = 310, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 535 | skillshotcharexist = true | |
| 536 | end | |
| 537 | if skillshotplayerObj.charName == "Elise" then | |
| 538 | table.insert(skillshotArray,{name= "EliseHumanE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1075, type = 1, radius = 80, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 539 | skillshotcharexist = true | |
| 540 | end | |
| 541 | if skillshotplayerObj.charName == "Zed" then | |
| 542 | table.insert(skillshotArray,{name= "ZedShuriken", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 900, type = 1, radius = 55, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 543 | skillshotcharexist = true | |
| 544 | end | |
| 545 | if skillshotplayerObj.charName == "Nami" then | |
| 546 | table.insert(skillshotArray,{name= "NamiQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 875, type = 3, radius = 210, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 547 | table.insert(skillshotArray,{name= "NamiR", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 2750, type = 1, radius = 335, color= coloryellow, time = 3, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 548 | skillshotcharexist = true | |
| 549 | end | |
| 550 | if skillshotplayerObj.charName == "Vi" then | |
| 551 | table.insert(skillshotArray,{name= "ViQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 725, type = 1, radius = 65, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 552 | skillshotcharexist = true | |
| 553 | end | |
| 554 | if skillshotplayerObj.charName == "Thresh" then | |
| 555 | table.insert(skillshotArray,{name= "ThreshQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1075, type = 1, radius = 70, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 556 | skillshotcharexist = true | |
| 557 | end | |
| 558 | if skillshotplayerObj.charName == "Quinn" then | |
| 559 | table.insert(skillshotArray,{name= "QuinnQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1025, type = 1, radius = 150, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 560 | skillshotcharexist = true | |
| 561 | end | |
| 562 | if skillshotplayerObj.charName == "Zac" then | |
| 563 | table.insert(skillshotArray,{name= "ZacE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1550, type = 5, radius = 200, color= coloryellow, time = 1, isline = false, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 564 | skillshotcharexist = true | |
| 565 | end | |
| 566 | if skillshotplayerObj.charName == "Lissandra" then | |
| 567 | table.insert(skillshotArray,{name= "LissandraQ", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 725, type = 1, radius = 100, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 568 | table.insert(skillshotArray,{name= "LissandraE", shot=0, lastshot = 0, skillshotpoint = {}, maxdistance = 1050, type = 1, radius = 120, color= coloryellow, time = 1, isline = true, p1x =0, p1y =0 , p1z =0 , p2x =0, p2y =0 , p2z =0 })
| |
| 569 | skillshotcharexist = true | |
| 570 | end | |
| 571 | end | |
| 572 | end | |
| 573 | end | |
| 574 | ||
| 575 | function OnLoad() | |
| 576 | ||
| 577 | DodgeConf = scriptConfig("Dodge","AntiSkillShot")
| |
| 578 | DodgeConf:addParam("DodgeOn", "Dodge On", SCRIPT_PARAM_ONKEYTOGGLE, false, dodgeskillshotkey)
| |
| 579 | DodgeConf:permaShow("DodgeOn")
| |
| 580 | ||
| 581 | loadantiskillshot() | |
| 582 | if skillshotcharexist == true then | |
| 583 | - | --PrintChat("AntiSkillshot Ver2.1! by Barasia283 edited by Herpes and Masse. Press J to toggle Dodging")
|
| 583 | + | PrintChat("AntiSkillshot Ver2.1! by Barasia283 edited by Herpes and Masse. Press J to toggle Dodging")
|
| 584 | else | |
| 585 | PrintChat("No Skillshot Character!")
| |
| 586 | end | |
| 587 | end |