shadowmeld

spell-map.lua

Jan 17th, 2014
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.61 KB | None | 0 0
  1. local mappings = {}
  2.  
  3. mappings.element_match = {
  4.     ['Fire'] = {    ['Helix'] = 'Pyrohelix', ['Storm'] = 'Firestorm', ['Single Target'] = 'Fire', ['Ancient Magic'] = 'Flare', ['AOE Target'] = 'Firaga', ['AOE JA'] = 'Firaja', ['AOE Self'] = 'Fira'  },
  5.     ['Earth'] = {   ['Helix'] = 'Geohelix', ['Storm'] = 'Sandstorm', ['Single Target'] = 'Stone', ['Ancient Magic'] = 'Quake', ['AOE Target'] = 'Stonega', ['AOE JA'] = 'Stoneja', ['AOE Self'] = 'Stonara' },
  6.     ['Water'] = {   ['Helix'] = 'Hydrohelix', ['Storm'] = 'Rainstorm', ['Single Target'] = 'Water', ['Ancient Magic'] = 'Flood', ['AOE Target'] = 'Waterga', ['AOE JA'] = 'Waterja', ['AOE Self'] = 'Watera'    },
  7.     ['Wind'] = {    ['Helix'] = 'Anemohelix', ['Storm'] = 'Windstorm', ['Single Target'] = 'Aero', ['Ancient Magic'] = 'Tornado', ['AOE Target'] = 'Aeroga', ['AOE JA'] = 'Aeroja', ['AOE Self'] = 'Aerora' },
  8.     ['Ice'] = { ['Helix'] = 'Cryohelix', ['Storm'] = 'Hailstorm', ['Single Target'] = 'Blizzard', ['Ancient Magic'] = 'Freeze', ['AOE Target'] = 'Blizzaga', ['AOE JA'] = 'Blizzaja', ['AOE Self'] = 'Blizzara' },
  9.     ['Thunder'] = { ['Helix'] = 'Ionohelix', ['Storm'] = 'Thunderstorm', ['Single Target'] = 'Thunder', ['Ancient Magic'] = 'Burst', ['AOE Target'] = 'Thundaga', ['AOE JA'] = 'Thundaja', ['AOE Self'] = 'Thundara'    },
  10.     ['Light'] = {   ['Helix'] = 'Geohelix', ['Storm'] = 'Sandstorm', ['Single Target'] = 'Stone', ['Ancient Magic'] = 'Quake', ['AOE Target'] = 'Stonega', ['AOE JA'] = 'Stoneja', ['AOE Self'] = 'Stonara' },
  11.     ['Dark'] = {    ['Helix'] = 'Geohelix', ['Storm'] = 'Sandstorm', ['Single Target'] = 'Stone', ['Ancient Magic'] = 'Quake', ['AOE Target'] = 'Stonega', ['AOE JA'] = 'Stoneja', ['AOE Self'] = 'Stonara' }
  12. }
  13.  
  14. mappings.spell_type = {
  15.     st = {  stype = "Single Target", description = "Single Target Nuke", default_tier = 1, max_tier = 5, default_target = "<t>" },
  16.     am = {  stype = "Ancient Magic", description = "Ancient Magic", default_tier = 2, max_tier = 2, default_target = "<t>"  },
  17.     aoet = {    stype = "AOE Target", description = "Area of Effect Nuke Centered on Target", default_tier = 1, max_tier = 3, default_target = "<t>"    },
  18.     aoeja = {   stype = "AOE JA", description = "Area of Effect Nuke, Added Effect increased damage from same element", default_tier = 1, max_tier = 1, default_target = "<t>"  },
  19.     aoes = {    stype = "AOE Self", description = "Area of Effect Nuke Centered on Caster", default_tier = 1, max_tier = 2, default_target = "<me>" },
  20.     helix = {   stype = "Helix", description = "Helix", default_tier = 1, max_tier = 1, default_target = "<t>"  },
  21.     storm = {   stype = "Storm", description = "Storm", default_tier = 1, max_tier = 1, default_target = "<me>" }
  22. }
  23.  
  24. mappings.tier_map = {   [2] = "II", [3] = "III", [4] = "IV", [5] = "V", [6] = "VI"  }
  25.  
  26. mappings.spell_map = {
  27.     ['Burn'] = 'Debuff', ['Rasp'] = 'Debuff', ['Drown'] = 'Debuff', ['Choke'] = 'Debuff', ['Frost'] = 'Debuff', ['Shock'] = 'Debuff',
  28.     ['Pyrohelix'] = 'Helix', ['Geohelix'] = 'Helix', ['HyrdroHelix'] = 'Helix', ['Anemohelix'] = 'Helix', ['Cryohelix'] = 'Helix', ['Ionohelix'] = 'Helix', ['Noctohelix'] = 'Helix', ['Luminohelix'] = 'Helix',
  29.     ['Firaja'] = 'JA', ['Stoneja'] = 'JA', ['Waterja'] = 'JA', ['Aeroja'] = 'JA', ['Blizzaja'] = 'JA', ['Thundaja'] = 'JA',
  30.     ['Cure'] = 'Cure', ['Cure II'] = 'Cure', ['Cure III'] = 'Cure', ['Cure IV'] = 'Cure', ['Cure V'] = 'Cure', ['Cure VI'] = 'Cure',
  31.     ['Curaga'] = 'Cure', ['Curaga II'] = 'Cure', ['Curaga III'] = 'Cure', ['Curaga IV'] = 'Cure', ['Curaga V'] = 'Cure',
  32.     ['Cura'] = 'Cure', ['Cura II'] = 'Cure', ['Cura II'] = 'Cure',
  33.     ['Firestorm'] = 'Storm', ['Sandstorm'] = 'Storm', ['Rainstorm'] = 'Storm', ['Windstorm'] = 'Storm', ['Hailstorm'] = 'Storm', ['Thunderstorm'] = 'Storm', ['Aurorastorm'] = 'Storm', ['Voidstorm'] = 'Storm',
  34.     ['Protect'] = 'Protect', ['Protect II'] = 'Protect', ['Protect III'] = 'Protect', ['Protect IV'] = 'Protect', ['Protect V'] = 'Protect',
  35.     ['Shell'] = 'Shell', ['Shell II'] = 'Shell', ['Shell III'] = 'Shell', ['Shell IV'] = 'Shell', ['Shell V'] = 'Shell',
  36.     ['Regen'] = 'Regen', ['Regen II'] = 'Regen', ['Regen III'] = 'Regen', ['Regen IV'] = 'Regen', ['Regen V'] = 'Regen',
  37.     ['Phalanx'] = 'Phalanx', ['Phalanx II'] = 'Phalanx',
  38.     ['Dia'] = 'Dia', ['Dia II'] = 'Dia', ['Dia II'] = 'Dia', ['Diaga'] = 'Dia', ['Diaga II'] = 'Dia',
  39.     ['Bio'] = 'Bio', ['Bio II'] = 'Bio', ['Bio III'] = 'Bio',
  40.     ['Poisona'] = 'StatusRemoval', ['Paralyna'] = 'StatusRemoval', ['Silena'] = 'StatusRemoval', ['Blindna'] = 'StatusRemoval', ['Cursna'] = 'StatusRemoval',
  41.     ['Stona'] = 'StatusRemoval', ['Viruna'] = 'StatusRemoval', ['Erase'] = 'StatusRemoval',
  42.     ['Barfire'] = 'Barspell', ['Barstone'] = 'Barspell', ['Barwater'] = 'Barspell', ['Baraero'] = 'Barspell', ['Barblizzard'] = 'Barspell', ['Barthunder'] = 'Barspell',
  43.     ['Barfira'] = 'Barspell', ['Barstonra'] = 'Barspell', ['Barwatera'] = 'Barspell', ['Baraera'] = 'Barspell', ['Barblizzara'] = 'Barspell', ['Barthundra'] = 'Barspell',
  44. }
  45.  
  46. mappings.strategems = {}
  47. mappings.strategems.alias_list = T{ 'addend', 'cost', 'speed', 'aoe', 'power', 'duration', 'skillchain', 'accuracy', 'enmity'   }
  48. mappings.strategems['Light Arts'] = {   addend = 'Addendum: White', cost = 'Penury', speed = 'Celerity', aoe = 'Accession', power = 'Rapture', duration = 'Perpetuance', accuracy = 'Altruism', enmity = 'Tranquility'  }
  49. mappings.strategems['Dark Arts'] = {    addend = 'Addendum: Black', cost = 'Parsimony', speed = 'Alacrity', aoe = 'Manifestation', power = 'Ebullience', skillchain = 'Immanence', accuracy = 'Focalization', enmity = 'Equanimity' }
  50. mappings.strategems.affected = {
  51.     ElementalMagic = {  'Parsimony', 'Alacrity', 'Ebullience', 'Immanence', 'Focalization', 'Equanimity'    },
  52.     DarkMagic = {   'Parsimony', 'Alacrity', 'Ebullience', 'Immanence', 'Focalization', 'Eqanimity' },
  53.     EnhancingMagic = {  'Penury', 'Celerity', 'Accession', 'Perpetuance'    },
  54.     EnfeeblingMagic = { 'Parsimony', 'Alacrity', 'Manifestation', 'Focalization'    },
  55.     HealingMagic = {    'Penury', 'Celerity', 'Accession', 'Rapture', 'Tranquility' },
  56.     DivineMagic = { 'Penury', 'Celerity', 'Accession', 'Rapture', 'Tranquility' }
  57. }
  58.  
  59. mappings.addendum_spells = {}
  60. mappings.addendum_spells['Light Arts'] = S{ 'Paralyna', 'Blindna', 'Stona', 'Viruna', 'Cursna', 'Erase', 'Poisona', 'Silena', 'Reraise II', 'Reraise III'   }
  61. mappings.addendum_spells['Dark Arts'] = S{  'Fire IV', 'Fire V', 'Stone IV', 'Stone V', 'Water IV', 'Water V', 'Aero IV', 'Aero V', 'Blizzard IV', 'Blizzard V', 'Thunder IV', 'Thunder V',
  62.     'Break', 'Dispel'   }
  63. mappings.addendum_spells['RDM'] = S{    'Dispel'    }
  64. mappings.addendum_spells['WHM'] = S{    'Paralyna', 'Blindna', 'Stona', 'Viruna', 'Cursna', 'Erase', 'Poisona', 'Silena'    }
  65. mappings.addendum_spells.tried_addend = false
  66. mappings.addendum_spells.tried_enlighten = false
  67.  
  68. return mappings
Advertisement
Add Comment
Please, Sign In to add comment