Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==============
- 180 DISTANCIA ---------------------------------------------------180
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 993,
- 1113,
- 1131,
- 5687,
- 6126,
- 9104,
- 9195,
- 12434,
- 12552,
- 12744,
- 12749,
- 12499,
- 14443,
- 14550,
- 14551,
- 14464,
- 21661,
- 26557,
- 29941,
- 30273,
- 33823,
- 46295
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 180 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ==============
- 240 DISTANCIA---------------------------------------------------240
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 5534,
- 5602,
- 5690,
- 5889,
- 5939,
- 5995,
- 9096,
- 10331,
- 12367,
- 12476,
- 12492,
- 12496,
- 13028,
- 13093,
- 17811,
- 25492,
- 27356,
- 29114,
- 29618,
- 29786,
- 30557,
- 31264,
- 32151,
- 41843,
- 44321,
- 46335
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 240 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ==============
- 300 DISTANCIA ---------------------------------------------------300
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 5813,
- 5930,
- 12522,
- 12738,
- 14488,
- 14502,
- 29558,
- 30448,
- 31267
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 300 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ================
- 360 DISTANCIA -------------------------------------360
- ================
- --360
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 12662,
- 30864,
- 31503,
- 43123,
- 44637,
- 45333
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 360 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ==============
- 400 DISTANCIA ----------------------------------------------------400
- ==============
- --400
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 30343
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 400
- and not (target_buffs[720] or target_buffs[833])) then
- return true
- end
- end
- end
- return false
- ==============
- 450 DISTANCIA ----------------------------------------------------450
- ==============
- --450
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 14361
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 450
- and not (target_buffs[720] or target_buffs[833])) then
- return true
- end
- end
- end
- return false
- ==============
- 480 DISTANCIA ----------------------------------------------------480
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 5746,
- 10220,
- 12638,
- 14388,
- 15718,
- 28075,
- 28472,
- 29233,
- 30520,
- 33963,
- 44008,
- 44321,
- 45252,
- 46018
- }
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 480 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ==============
- 600 DISTANCIA ----------------------------------------------------600
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 2521,
- 5532,
- 5747,
- 5837,
- 5931,
- 5963,
- 6154,
- 6179,
- 9081,
- 9147,
- 9226,
- 10337,
- 10363,
- 10529,
- 10616,
- 10632,
- 10635,
- 10695,
- 12389,
- 12406,
- 12580,
- 12715,
- 13010,
- 14387,
- 14393,
- 14394,
- 14409,
- 14512,
- 14513,
- 14514,
- 15716,
- 19504,
- 28406,
- 28978,
- 29288,
- 29666,
- 30105,
- 30432,
- 30643,
- 31294,
- 31639,
- 39959,
- 40170,
- 42163,
- 42867,
- 43532,
- 45402,
- 45783
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 600 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ==============
- 750 DISTANCIA ----------------------------------------------------750
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 9134, 12621, 29740, 30008, 30446
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 750 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ==============
- 900 DISTANCIA ----------------------------------------------------900
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 1132,
- 1133,
- 5491,
- 5497,
- 5510,
- 5541,
- 5549,
- 5500,
- 5559,
- 5562,
- 5568,
- 5593,
- 5595,
- 5675,
- 5693,
- 5696,
- 5720,
- 5721,
- 5752,
- 5753,
- 5754,
- 5806,
- 5808,
- 5809,
- 5810,
- 5827,
- 5828,
- 5829,
- 5830,
- 5882,
- 5934,
- 5962,
- 5982,
- 6057,
- 6161,
- 6181,
- 7520,
- 9099,
- 10267,
- 10289,
- 10290,
- 10291,
- 10358,
- 10533,
- 10543,
- 10596,
- 10608,
- 10689,
- 10705,
- 12725,
- 12453,
- 12466,
- 12468,
- 12470,
- 12490,
- 12501,
- 12507,
- 12508,
- 12517,
- 12624,
- 12654,
- 13008,
- 13011,
- 13015,
- 13019,
- 13022,
- 13024,
- 13025,
- 13041,
- 13040,
- 13083,
- 13084,
- 13085,
- 13113,
- 13115,
- 13129,
- 14354,
- 14398,
- 14498,
- 14515,
- 14556,
- 17008,
- 27505,
- 28029,
- 28409,
- 29740,
- 29996,
- 30337,
- 30359,
- 30369,
- 30446,
- 30682,
- 30725,
- 31889,
- 35224,
- 40175,
- 40229,
- 40497,
- 40533,
- 40794,
- 41615,
- 41820,
- 41829,
- 42449,
- 42836,
- 44296,
- 45742,
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 900 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ==============
- 1200 DISTANCIA ----------------------------------------------------1200
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 5515,
- 5518,
- 5519,
- 5505,
- 5516,
- 5553,
- 5571,
- 5648,
- 5671,
- 5683,
- 5686,
- 5818,
- 5868,
- 5912,
- 5913,
- 5975,
- 5996,
- 6003,
- 6004,
- 6145,
- 6178,
- 6182,
- 9089,
- 9093,
- 9140,
- 9144,
- 9151,
- 9175,
- 9260,
- 10175,
- 10185,
- 10189,
- 10216,
- 10221,
- 10229,
- 10232,
- 10273,
- 10333,
- 10554,
- 10602,
- 10604,
- 10606,
- 10620,
- 10634,
- 10647,
- 10707,
- 12348,
- 12371,
- 12390,
- 12477,
- 12511,
- 12635,
- 12638,
- 13020,
- 14381,
- 14395,
- 14404,
- 14415,
- 14431,
- 14467,
- 14472,
- 14505,
- 14506,
- 14519,
- 14520,
- 14521,
- 14522,
- 14465,
- 14504,
- 14575,
- 26937,
- 28110,
- 28231,
- 28549,
- 29519,
- 29630,
- 29789,
- 29887,
- 29923,
- 30229,
- 30471,
- 30713,
- 30989,
- 31248,
- 31700,
- 32009,
- 33336,
- 33134,
- 40332,
- 40710,
- 41125,
- 41156,
- 41158,
- 41205,
- 41422,
- 41494,
- 42009,
- 42181,
- 42321,
- 42304,
- 43762,
- 43916,
- 45732,
- 46360
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 1200 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
- ==============
- 1500 DISTANCIA ----------------------------------------------------1500
- ==============
- if(table.valid(context.attack_target)) then
- local target = context.attack_target
- local skilllist = {
- 5539,
- 6177,
- 12509,
- 12510,
- 12511,
- 14396,
- 14416,
- 14432,
- 14473,
- 14474,
- 14475,
- 28395,
- 29644,
- 30121,
- 30307,
- 30371,
- 30599,
- 30885,
- 44087,
- 44591,
- 44695
- }
- local target_skillid = target.castinfo.skillid
- local dist = target.distance
- local target_buffs = target.buffs
- for _,skillid in pairs(skilllist) do
- if(target_skillid == skillid and dist <= 1500 and not (target_buffs[720] or target_buffs[833] )) then
- return true
- end
- end
- end
- return false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement