Guest User

Untitled

a guest
Apr 3rd, 2014
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.92 KB | None | 0 0
  1. WS_Library = {}
  2. WS_Library._resources = {}
  3. WS_Library._resources.belts = {
  4.     Transfixion={waist="Light Belt"},
  5.     Compression={waist="Shadow Belt"},
  6.     Liquefaction={waist="Flame Belt"},
  7.     Scission={waist="Soil Belt"},
  8.     Reverberation={waist="Aqua Belt"},
  9.     Detonation={waist="Breeze Belt"},
  10.     Induration={waist="Snow Belt"},
  11.     Impaction={waist="Thunder Belt"},
  12.     Gravitation={waist="Soil Belt"},
  13.     Distortion={waist="Aqua Belt"},
  14.     Fusion={waist="Flame Belt"},
  15.     Fragmentation={waist="Breeze Belt"},
  16.     Light={waist="Light Belt"},
  17.     Darkness={waist="Shadow Belt"}
  18. }
  19. WS_Library._resources.necks = {
  20.     Transfixion={neck="Light Gorget"},
  21.     Compression={neck="Shadow Gorget"},
  22.     Liquefaction={neck="Flame Gorget"},
  23.     Scission={neck="Soil Gorget"},
  24.     Reverberation={neck="Aqua Gorget"},
  25.     Detonation={neck="Breeze Gorget"},
  26.     Induration={neck="Snow Gorget"},
  27.     Impaction={neck="Thunder Gorget"},
  28.     Gravitation={neck="Soil Gorget"},
  29.     Distortion={neck="Aqua Gorget"},
  30.     Fusion={neck="Flame Gorget"},
  31.     Fragmentation={neck="Breeze Gorget"},
  32.     Light={neck="Light Gorget"},
  33.     Darkness={neck="Shadow Gorget"}
  34. }
  35. WS_Library.equipment.hachimaki = {
  36.     Handtohand={head="Tokon Hachimaki"},
  37.     Dagger={head="Issen Hachimaki"},
  38.     Sword={head="Kensho Hachimaki"},
  39.     Greatsword={head="Hako Hachimaki"},
  40.     Axe={head="Ryoshi Hachimaki"},
  41.     Greataxe={head="Senshin Hachimaki"},
  42.     Scythe={head="Rekka Hachimaki"},
  43.     Polearm={head="Shitotsu Hachimaki"},
  44.     Katana={head="Kanja Hachimaki"},
  45.     Greatkatana={head="Kengo Hachimaki"},
  46.     Club={head="Rokugo Hachimaki"},
  47.     Staff={head="Hakke Hachimaki"},
  48.     Archery={head="Shunten Hachimaki"},
  49.     Marksmanship={head="Saika Hachimaki"}
  50. }
  51. WS_Library._resources.type = {
  52.     ['Combo'] = 'Handtohand',
  53.     ['Shoulder Tackle'] = 'Handtohand',
  54.     ['One Inch Punch'] = 'Handtohand',
  55.     ['Backhand Blow'] = 'Handtohand',
  56.     ['Raging Fists'] = 'Handtohand',
  57.     ['Spinning Attack'] = 'Handtohand',
  58.     ['Howling Fist'] = 'Handtohand',
  59.     ['Dragon Kick'] = 'Handtohand',
  60.     ['Asuran Fists'] = 'Handtohand',
  61.     ['Final Heaven'] = 'Handtohand',
  62.     ['Ascetic\'s Fury'] = 'Handtohand',
  63.     ['Stringing Pummel'] = 'Handtohand',
  64.     ['Tornado Kick'] = 'Handtohand',
  65.     ['Victory Smite'] = 'Handtohand',
  66.     ['Shijin Spiral'] ='Handtohand',
  67.     ['Wasp Sting'] = 'Dagger',
  68.     ['Gust Slash'] = 'Dagger',
  69.     ['Shadow Stitch'] = 'Dagger',
  70.     ['Viper Bite'] = 'Dagger',
  71.     ['Cyclone'] = 'Dagger',
  72.     ['Energy Steal'] = 'Dagger',
  73.     ['Energy Drain'] = 'Dagger',
  74.     ['Dancing Edge'] = 'Dagger',
  75.     ['Shark Bite'] = 'Dagger',
  76.     ['Evisceration'] = 'Dagger',
  77.     ['Mercy Stroke'] = 'Dagger',
  78.     ['Mandalic Stab'] = 'Dagger',
  79.     ['Mordant Rime'] = 'Dagger',
  80.     ['Pyrrhic Kleos'] = 'Dagger',
  81.     ['Aeolian Edge'] = 'Dagger',
  82.     ['Rudra\'s Storm'] = 'Dagger',
  83.     ['Exenterator'] = 'Dagger',
  84.     ['Fast Blade'] = 'Sword',
  85.     ['Burning Blade'] = 'Sword',
  86.     ['Red Lotus Blade'] = 'Sword',
  87.     ['Flat Blade'] = 'Sword',
  88.     ['Shining Blade'] = 'Sword',
  89.     ['Seraph Blade'] = 'Sword',
  90.     ['Circle Blade'] = 'Sword',
  91.     ['Spirits Within'] = 'Sword',
  92.     ['Vorpal Blade'] = 'Sword',
  93.     ['Swift Blade'] = 'Sword',
  94.     ['Savage Blade'] = 'Sword',
  95.     ['Knights of Round'] = 'Sword',
  96.     ['Death Blossom'] = 'Sword',
  97.     ['Atonement'] = 'Sword',
  98.     ['Expiacion'] = 'Sword',
  99.     ['Sanguine Blade'] = 'Sword',
  100.     ['Chant du Cygne'] = 'Sword',
  101.     ['Requiescat'] = 'Sword',
  102.     ['Hard Slash'] = 'Greatsword',
  103.     ['Power Slash'] = 'Greatsword',
  104.     ['Frostbite'] = 'Greatsword',
  105.     ['Freezebite'] = 'Greatsword',
  106.     ['Shockwave'] = 'Greatsword',
  107.     ['Crescent Moon'] = 'Greatsword',
  108.     ['Sickle Moon'] = 'Greatsword',
  109.     ['Spinning Slash'] = 'Greatsword',
  110.     ['Ground Strike'] = 'Greatsword',
  111.     ['Scourge'] = 'Greatsword',
  112.     ['Herculean Slash'] = 'Greatsword',
  113.     ['Torcleaver'] = 'Greatsword',
  114.     ['Resolution'] = 'Greatsword',
  115.     ['Raging Axe'] = 'Axe',
  116.     ['Smash Axe'] = 'Axe',
  117.     ['Gale Axe'] = 'Axe',
  118.     ['Avalanche Axe'] = 'Axe',
  119.     ['Spinning Axe'] = 'Axe',
  120.     ['Rampage'] = 'Axe',
  121.     ['Calamity'] = 'Axe',
  122.     ['Mistral Axe'] = 'Axe',
  123.     ['Decimation'] = 'Axe',
  124.     ['Onslaught'] = 'Axe',
  125.     ['Primal Rend'] = 'Axe',
  126.     ['Bora Axe'] = 'Axe',
  127.     ['Cloudsplitter'] = 'Axe',
  128.     ['Ruinator'] = 'Axe',
  129.     ['Shield Break'] = 'Greataxe',
  130.     ['Iron Tempest'] = 'Greataxe',
  131.     ['Sturmwind'] = 'Greataxe',
  132.     ['Armor Break'] = 'Greataxe',
  133.     ['Keen Edge'] = 'Greataxe',
  134.     ['Weapon Break'] = 'Greataxe',
  135.     ['Raging Rush'] = 'Greataxe',
  136.     ['Full Break'] = 'Greataxe',
  137.     ['Steel Cyclone'] = 'Greataxe',
  138.     ['Metatron Torment'] = 'Greataxe',
  139.     ['King\'s Justice'] = 'Greataxe',
  140.     ['Fell Cleave'] = 'Greataxe',
  141.     ['Ukko\'s Fury'] = 'Greataxe',
  142.     ['Upheaval'] = 'Greataxe',
  143.     ['Slice'] = 'Scythe',
  144.     ['Dark Harvest'] = 'Scythe',
  145.     ['Shadow of Death'] = 'Scythe',
  146.     ['Nightmare Scythe'] = 'Scythe',
  147.     ['Spinning Scythe'] = 'Scythe',
  148.     ['Vorpal Scythe'] = 'Scythe',
  149.     ['Guillotine'] = 'Scythe',
  150.     ['Cross Reaper'] = 'Scythe',
  151.     ['Spiral Hell'] = 'Scythe',
  152.     ['Catastrophe'] = 'Scythe',
  153.     ['Insurgency'] = 'Scythe',
  154.     ['Infernal Scythe'] = 'Scythe',
  155.     ['Quietus'] = 'Scythe',
  156.     ['Entropy'] = 'Scythe',
  157.     ['Double Thrust'] = 'Polearm',
  158.     ['Thunder Thrust'] = 'Polearm',
  159.     ['Raiden Thrust'] = 'Polearm',
  160.     ['Leg Sweep'] = 'Polearm',
  161.     ['Penta Thrust'] = 'Polearm',
  162.     ['Vorpal Thrust'] = 'Polearm',
  163.     ['Skewer'] = 'Polearm',
  164.     ['Wheeling Thrust'] = 'Polearm',
  165.     ['Impulse Drive'] = 'Polearm',
  166.     ['Geirskogul'] = 'Polearm',
  167.     ['Drakesbane'] = 'Polearm',
  168.     ['Sonic Thrust'] = 'Polearm',
  169.     ['Camlann\'s Torment'] = 'Polearm',
  170.     ['Stardiver'] = 'Polearm',
  171.     ['Blade: Rin'] = 'Katana',
  172.     ['Blade: Retsu'] = 'Katana',
  173.     ['Blade: Teki'] = 'Katana',
  174.     ['Blade: To'] = 'Katana',
  175.     ['Blade: Chi'] = 'Katana',
  176.     ['Blade: Ei'] = 'Katana',
  177.     ['Blade: Jin'] = 'Katana',
  178.     ['Blade: Ten'] = 'Katana',
  179.     ['Blade: Ku'] = 'Katana',
  180.     ['Blade: Metsu'] = 'Katana',
  181.     ['Blade: Kamu'] = 'Katana',
  182.     ['Blade: Yu'] = 'Katana',
  183.     ['Blade: Hi'] = 'Katana',
  184.     ['Blade: Shun'] = 'Katana',
  185.     ['Tachi: Enpi'] = 'Greatkatana',
  186.     ['Tachi: Hobaku'] = 'Greatkatana',
  187.     ['Tachi: Goten'] = 'Greatkatana',
  188.     ['Tachi: Kagero'] = 'Greatkatana',
  189.     ['Tachi: Jinpu'] = 'Greatkatana',
  190.     ['Tachi: Koki'] = 'Greatkatana',
  191.     ['Tachi: Yukikaze'] = 'Greatkatana',
  192.     ['Tachi: Gekko'] = 'Greatkatana',
  193.     ['Tachi: Kasha'] = 'Greatkatana',
  194.     ['Tachi: Kaiten'] = 'Greatkatana',
  195.     ['Tachi: Rana'] = 'Greatkatana',
  196.     ['Tachi: Ageha'] = 'Greatkatana',
  197.     ['Tachi: Fudo'] = 'Greatkatana',
  198.     ['Tachi: Shoha'] = 'Greatkatana',
  199.     ['Shining Strike'] = 'Club',
  200.     ['Seraph Strike'] = 'Club',
  201.     ['Brainshaker'] = 'Club',
  202.     ['Starlight'] = 'Club',
  203.     ['Moonlight'] = 'Club',
  204.     ['Skullbreaker'] = 'Club',
  205.     ['True Strike'] = 'Club',
  206.     ['Judgment'] = 'Club',
  207.     ['Hexa Strike'] = 'Club',
  208.     ['Black Halo'] = 'Club',
  209.     ['Randgrith'] = 'Club',
  210.     ['Mystic Boon'] = 'Club',
  211.     ['Flash Nova'] = 'Club',
  212.     ['Dagan'] = 'Club',
  213.     ['Realmrazer'] = 'Club',
  214.     ['Heavy Swing'] = 'Staff',
  215.     ['Rock Crusher'] = 'Staff',
  216.     ['Earth Crusher'] = 'Staff',
  217.     ['Starburst'] = 'Staff',
  218.     ['Sunburst'] = 'Staff',
  219.     ['Shell Crusher'] = 'Staff',
  220.     ['Full Swing'] = 'Staff',
  221.     ['Spirit Taker'] = 'Staff',
  222.     ['Retribution'] = 'Staff',
  223.     ['Gates of Tartarus'] = 'Staff',
  224.     ['Vidohunir'] = 'Staff',
  225.     ['Garland of Bliss'] = 'Staff',
  226.     ['Omniscience'] = 'Staff',
  227.     ['Cataclysm'] = 'Staff',
  228.     ['Myrkr'] = 'Staff',
  229.     ['Shattersoul'] = 'Staff',
  230.     ['Flaming Arrow'] = 'Archery',
  231.     ['Piercing Arrow'] = 'Archery',
  232.     ['Dulling Arrow'] = 'Archery',
  233.     ['Sidewinder'] = 'Archery',
  234.     ['Blast Arrow'] = 'Archery',
  235.     ['Arching Arrow'] = 'Archery',
  236.     ['Empyreal Arrow'] = 'Archery',
  237.     ['Namas Arrow'] = 'Archery',
  238.     ['Refulgent Arrow'] = 'Archery',
  239.     ['Jishnu\'s Radiance'] = 'Archery',
  240.     ['Apex Arrow'] = 'Archery',
  241.     ['Hot Shot'] = 'Marksmanship',
  242.     ['Split Shot'] = 'Marksmanship',
  243.     ['Sniper Shot'] = 'Marksmanship',
  244.     ['Slug Shot'] = 'Marksmanship',
  245.     ['Blast Shot'] = 'Marksmanship',
  246.     ['Heavy Shot'] = 'Marksmanship',
  247.     ['Detonator'] = 'Marksmanship',
  248.     ['Coronach'] = 'Marksmanship',
  249.     ['Trueflight'] = 'Marksmanship',
  250.     ['Leaden Salute'] = 'Marksmanship',
  251.     ['Numbing Shot'] = 'Marksmanship',
  252.     ['Wildfire'] = 'Marksmanship',
  253.     ['Last Stand'] = 'Marksmanship'
  254. }
  255.  
  256. function WS_Library.equip_elemental_ws_gear(spell)
  257.     if spell.type == "WeaponSkill" then
  258.                 --equip(WS_Library.type[weaponskill.type[spell.name]])
  259.                 equip(WS_Library.element[spell.wsA])
  260.     end
  261. end
  262.  
  263. function WS_Library.type(spell)
  264.     if spell.type == 'WeaponSkill' then
  265.         return WS_Library._resources.type[spell.english] or 'Ability'
  266.     else
  267.         return spell.type
  268.     end
  269. end
  270.  
  271. function WS_Library.equip_belt(spell)
  272.     if spell.type == 'WeaponSkill' and WS_Library._resources.type[spell.english] and player.inventory[WS_Library._resources.belts[WS_Library._resources.type[spell.english]]] then
  273.         equip(WS_Library._resources.belts[WS_Library._resources.type[spell.english]])
  274.     end
  275. end
  276.  
  277. function WS_Library.equip_neck(spell)
  278.     if spell.type == 'WeaponSkill' and WS_Library._resources.type[spell.english] and player.inventory[WS_Library._resources.necks[WS_Library._resources.type[spell.english]]] then
  279.         equip(WS_Library._resources.necks[WS_Library._resources.type[spell.english]])
  280.     end
  281. end
  282.  
  283. function WS_Library.equip_hachimaki(spell)
  284.     if spell.type == 'WeaponSkill' and WS_Library._resources.type[spell.english] and player.inventory[WS_Library._resources.hachimaki[WS_Library._resources.type[spell.english]]] then
  285.         equip(WS_Library._resources.hachimaki[WS_Library._resources.type[spell.english]])
  286.     end
  287. end
Advertisement
Add Comment
Please, Sign In to add comment