-- DynamicTooltips: Paladin Spell Data (Retail)
-- Updated for The War Within / Midnight expansion
-- Spell Power coefficients for Retail WoW scaling system

local _, DT = ...
DT.ClassData = DT.ClassData or {}

-- Only load Retail data if running on Retail client
if DT.isRetail == false then return end

DT.ClassData.Paladin = {
    -- ========================================================================
    -- HOLY SPEC
    -- ========================================================================
    
    -- Holy Shock - Primary Holy damage/heal instant
    [20473] = { name = "Holy Shock", sp = 0.88, school = "Holy", type = "Direct", isHeal = true, spec = "Holy" },
    
    -- Holy Light - Efficient long cast heal
    [82326] = { name = "Holy Light", sp = 1.85, school = "Holy", type = "Direct", isHeal = true, spec = "Holy" },
    
    -- Flash of Light - Fast expensive heal
    [19750] = { name = "Flash of Light", sp = 1.10, school = "Holy", type = "Direct", isHeal = true, spec = "Holy" },
    
    -- Word of Glory - Holy Power spender heal
    [85673] = { name = "Word of Glory", sp = 2.60, school = "Holy", type = "Direct", isHeal = true, spec = "Holy" },
    
    -- Light of Dawn - Cone AoE heal
    [85222] = { name = "Light of Dawn", sp = 0.80, school = "Holy", type = "Direct", isHeal = true, isAoE = true, maxTargets = 5, spec = "Holy" },
    
    -- Beacon of Light - Primary beacon buff
    [53563] = { name = "Beacon of Light", sp = 0, type = "Buff", isHeal = true, note = "Copies 50% of heals to target", spec = "Holy" },
    
    -- Beacon of Faith - Second beacon talent
    [156910] = { name = "Beacon of Faith", sp = 0, type = "Buff", isHeal = true, note = "Second beacon, 35% healing", spec = "Holy" },
    
    -- Aura Mastery - Raid cooldown
    [31821] = { name = "Aura Mastery", sp = 0, type = "Buff", isAoE = true, note = "Empowers active aura", spec = "Holy" },
    
    -- Divine Favor - Healing cooldown
    [210294] = { name = "Divine Favor", sp = 0, type = "Buff", isHeal = true, note = "Next Holy Light/Flash of Light +100% crit", spec = "Holy" },
    
    -- Holy Prism - Damage or heal based on target
    [114165] = { name = "Holy Prism", sp = 0.95, school = "Holy", type = "Direct", isHeal = true, isAoE = true, spec = "Holy" },
    [114871] = { name = "Holy Prism", sp = 0.65, school = "Holy", type = "Direct", isAoE = true, note = "Damage", spec = "Holy" },
    
    -- Daybreak - AoE heal proc from Glimmer
    [414170] = { name = "Daybreak", sp = 1.20, school = "Holy", type = "Direct", isHeal = true, isAoE = true, spec = "Holy" },
    
    -- Glimmer of Light - Applied buff that heals/damages
    [287280] = { name = "Glimmer of Light", sp = 0.28, school = "Holy", type = "Direct", isHeal = true, spec = "Holy" },
    [325966] = { name = "Glimmer of Light", sp = 0.18, school = "Holy", type = "Direct", note = "Damage", spec = "Holy" },
    
    -- Tyr's Deliverance - Major healing cooldown
    [200652] = { name = "Tyr's Deliverance", sp = 0.70, school = "Holy", type = "Channel", duration = 10, isHeal = true, isAoE = true, spec = "Holy" },
    
    -- Barrier of Faith - Absorb shield talent
    [148039] = { name = "Barrier of Faith", sp = 1.50, school = "Holy", type = "Shield", isHeal = true, spec = "Holy" },
    
    -- Avenging Wrath (Holy) - Damage/healing cooldown
    [31842] = { name = "Avenging Wrath", sp = 0, type = "Buff", note = "+20% damage and healing", spec = "Holy" },
    
    -- Light's Hammer - Ground AoE heal/damage
    [114158] = { name = "Light's Hammer", sp = 0.25, school = "Holy", type = "DoT", duration = 14, isHeal = true, isAoE = true, spec = "Holy" },
    [114919] = { name = "Light's Hammer", sp = 0.15, school = "Holy", type = "DoT", duration = 14, isAoE = true, note = "Damage", spec = "Holy" },
    
    -- Infusion of Light - Proc buff from Holy Shock crits
    [54149] = { name = "Infusion of Light", sp = 0, type = "Buff", note = "Reduces Holy Light/Flash of Light cast time", spec = "Holy" },
    
    -- Rule of Law - Increased range and Mastery
    [214202] = { name = "Rule of Law", sp = 0, type = "Buff", note = "+50% range, +50% Mastery radius", spec = "Holy" },
    
    -- Bestow Faith - Delayed heal
    [223306] = { name = "Bestow Faith", sp = 1.80, school = "Holy", type = "Direct", isHeal = true, note = "Heals after 5 sec", spec = "Holy" },
    
    -- Divine Protection - Personal defensive
    [498] = { name = "Divine Protection", sp = 0, type = "Defensive", note = "20% damage reduction", spec = "Holy" },
    
    -- ========================================================================
    -- PROTECTION SPEC
    -- ========================================================================
    
    -- Shield of the Righteous - Holy Power spender, main mitigation
    [53600] = { name = "Shield of the Righteous", sp = 0.35, school = "Holy", type = "Direct", spec = "Protection" },
    
    -- Avenger's Shield - Ranged attack, silences
    [31935] = { name = "Avenger's Shield", sp = 0.75, school = "Holy", type = "Direct", isAoE = true, maxTargets = 3, spec = "Protection" },
    
    -- Consecration - Ground AoE DoT
    [26573] = { name = "Consecration", sp = 0.20, school = "Holy", type = "DoT", duration = 12, isAoE = true, spec = "Protection" },
    
    -- Hammer of the Righteous - AoE generator replacement
    [53595] = { name = "Hammer of the Righteous", sp = 0.12, school = "Holy", type = "Direct", isAoE = true, spec = "Protection" },
    
    -- Judgment (Protection) - Ranged attack, debuffs target
    [275779] = { name = "Judgment", sp = 0.58, school = "Holy", type = "Direct", spec = "Protection" },
    
    -- Ardent Defender - Major defensive cooldown
    [31850] = { name = "Ardent Defender", sp = 0, type = "Defensive", note = "20% damage reduction, prevents death", spec = "Protection" },
    
    -- Guardian of Ancient Kings - Major defensive cooldown
    [86659] = { name = "Guardian of Ancient Kings", sp = 0, type = "Defensive", note = "50% damage reduction for 8 sec", spec = "Protection" },
    
    -- Sentinel - Protection talent defensive
    [389539] = { name = "Sentinel", sp = 0, type = "Defensive", note = "15% damage reduction, stacking", spec = "Protection" },
    
    -- Eye of Tyr - AoE damage and damage reduction
    [387174] = { name = "Eye of Tyr", sp = 1.10, school = "Holy", type = "Direct", isAoE = true, note = "25% damage reduction debuff", spec = "Protection" },
    
    -- Blessed Hammer - Rotating hammers talent
    [204019] = { name = "Blessed Hammer", sp = 0.18, school = "Holy", type = "Direct", isAoE = true, spec = "Protection" },
    
    -- Moment of Glory - Avenger's Shield empowerment
    [327193] = { name = "Moment of Glory", sp = 0, type = "Buff", note = "Avenger's Shield +20% damage, resets CD", spec = "Protection" },
    
    -- Bulwark of Order - Absorb from SotR overheal
    [209389] = { name = "Bulwark of Order", sp = 0, type = "Shield", isHeal = true, note = "Absorb shield from SotR", spec = "Protection" },
    
    -- Light of the Titans - HoT when standing in Consecration
    [209539] = { name = "Light of the Titans", sp = 0.20, school = "Holy", type = "HoT", duration = 15, isHeal = true, spec = "Protection" },
    
    -- Righteous Protector - Holy Power reduces cooldowns
    [204074] = { name = "Righteous Protector", sp = 0, type = "Passive", note = "SotR reduces Ardent/GoAK CD", spec = "Protection" },
    
    -- Hand of the Protector - Enhanced Word of Glory
    [213652] = { name = "Hand of the Protector", sp = 0, type = "Passive", note = "WoG heals more on injured targets", spec = "Protection" },
    
    -- ========================================================================
    -- RETRIBUTION SPEC
    -- ========================================================================
    
    -- Templar's Verdict - Single target Holy Power spender
    [85256] = { name = "Templar's Verdict", sp = 1.95, school = "Holy", type = "Direct", spec = "Retribution" },
    
    -- Divine Storm - AoE Holy Power spender
    [53385] = { name = "Divine Storm", sp = 0.85, school = "Holy", type = "Direct", isAoE = true, spec = "Retribution" },
    
    -- Blade of Justice - Main Holy Power generator
    [184575] = { name = "Blade of Justice", sp = 1.15, school = "Physical", type = "Direct", spec = "Retribution" },
    
    -- Wake of Ashes - AoE burst, generates Holy Power
    [255937] = { name = "Wake of Ashes", sp = 1.40, school = "Holy", type = "Direct", isAoE = true, spec = "Retribution" },
    
    -- Crusader Strike - Basic Holy Power generator
    [35395] = { name = "Crusader Strike", sp = 0.65, school = "Physical", type = "Direct", spec = "Retribution" },
    
    -- Judgment (Retribution) - Ranged, debuffs target
    [20271] = { name = "Judgment", sp = 0.62, school = "Holy", type = "Direct", spec = "Retribution" },
    
    -- Hammer of Wrath - Execute ability
    [24275] = { name = "Hammer of Wrath", sp = 1.05, school = "Holy", type = "Direct", note = "Usable below 20% or during Avenging Wrath", spec = "Retribution" },
    
    -- Execution Sentence - DoT that explodes
    [343527] = { name = "Execution Sentence", sp = 0.45, school = "Holy", type = "DoT", duration = 8, spec = "Retribution" },
    [343548] = { name = "Execution Sentence", sp = 1.60, school = "Holy", type = "Direct", note = "Final damage", spec = "Retribution" },
    
    -- Final Reckoning - AoE stun and damage amplifier
    [343721] = { name = "Final Reckoning", sp = 1.50, school = "Holy", type = "Direct", isAoE = true, note = "Holy damage +50% to targets", spec = "Retribution" },
    
    -- Crusade - Stacking damage cooldown
    [231895] = { name = "Crusade", sp = 0, type = "Buff", note = "Stacking +3% damage/haste per Holy Power spent", spec = "Retribution" },
    
    -- Avenging Wrath (Retribution) - Damage cooldown
    [31884] = { name = "Avenging Wrath", sp = 0, type = "Buff", note = "+20% damage and crit", spec = "Retribution" },
    
    -- Art of War - Proc for instant Blade of Justice
    [267344] = { name = "Art of War", sp = 0, type = "Buff", note = "Blade of Justice resets", spec = "Retribution" },
    
    -- Consecration (Retribution) - Ground AoE
    [205228] = { name = "Consecration", sp = 0.18, school = "Holy", type = "DoT", duration = 12, isAoE = true, spec = "Retribution" },
    
    -- Zeal - Crusader Strike replacement talent
    [269569] = { name = "Zeal", sp = 0.70, school = "Physical", type = "Direct", spec = "Retribution" },
    
    -- Expurgation - DoT from Blade of Justice
    [383346] = { name = "Expurgation", sp = 0.15, school = "Holy", type = "DoT", duration = 6, spec = "Retribution" },
    
    -- Empyrean Power - Divine Storm proc buff
    [326733] = { name = "Empyrean Power", sp = 0, type = "Buff", note = "Free Divine Storm", spec = "Retribution" },
    
    -- Vanguard's Momentum - Damage proc after Templar's Verdict
    [383220] = { name = "Vanguard's Momentum", sp = 0.40, school = "Holy", type = "Direct", spec = "Retribution" },
    
    -- Justicar's Vengeance - Self-healing finisher talent
    [215661] = { name = "Justicar's Vengeance", sp = 1.75, school = "Holy", type = "Direct", healsForDamage = true, spec = "Retribution" },
    
    -- ========================================================================
    -- SHARED ABILITIES (All Specs)
    -- ========================================================================
    
    -- Lay on Hands - Emergency full heal
    [633] = { name = "Lay on Hands", sp = 0, type = "Direct", isHeal = true, note = "Heals for max health", spec = "All" },
    
    -- Divine Shield - Complete immunity
    [642] = { name = "Divine Shield", sp = 0, type = "Defensive", note = "Immune to all damage for 8 sec", spec = "All" },
    
    -- Blessing of Protection - Physical immunity for ally
    [1022] = { name = "Blessing of Protection", sp = 0, type = "Defensive", note = "Physical immunity for 10 sec", spec = "All" },
    
    -- Blessing of Freedom - Movement impair immunity
    [1044] = { name = "Blessing of Freedom", sp = 0, type = "Utility", note = "Immune to movement impairing effects", spec = "All" },
    
    -- Blessing of Sacrifice - Damage redirect
    [6940] = { name = "Blessing of Sacrifice", sp = 0, type = "Defensive", note = "Transfer 30% damage to Paladin", spec = "All" },
    
    -- Hammer of Justice - Single target stun
    [853] = { name = "Hammer of Justice", sp = 0, type = "CC", note = "6 sec stun", spec = "All" },
    
    -- Repentance - Long CC, breaks on damage
    [20066] = { name = "Repentance", sp = 0, type = "CC", note = "60 sec incapacitate", spec = "All" },
    
    -- Turn Evil - Fear undead/demon
    [10326] = { name = "Turn Evil", sp = 0, type = "CC", note = "Fear Undead/Demon/Aberration", spec = "All" },
    
    -- Cleanse - Dispel magic and disease
    [4987] = { name = "Cleanse", sp = 0, school = "Holy", type = "Utility", note = "Removes Poison and Disease", spec = "All" },
    
    -- Cleanse Toxins - Basic cleanse for non-Holy
    [213644] = { name = "Cleanse Toxins", sp = 0, school = "Holy", type = "Utility", note = "Removes Poison and Disease", spec = "All" },
    
    -- Flash of Light (Shared) - Quick heal for all specs
    -- Already defined in Holy section, ID 19750
    
    -- Word of Glory (Shared) - Holy Power heal for all specs
    -- Already defined in Holy section, ID 85673
    
    -- Rebuke - Interrupt
    [96231] = { name = "Rebuke", sp = 0, type = "Utility", note = "Interrupt", spec = "All" },
    
    -- Devotion Aura - Damage reduction aura
    [465] = { name = "Devotion Aura", sp = 0, type = "Buff", isAoE = true, note = "3% damage reduction", spec = "All" },
    
    -- Retribution Aura - Damage on death proc
    [183435] = { name = "Retribution Aura", sp = 0, type = "Buff", isAoE = true, note = "Damage enemies when ally dies", spec = "All" },
    
    -- Concentration Aura - Interrupt resistance
    [317920] = { name = "Concentration Aura", sp = 0, type = "Buff", isAoE = true, note = "Immune to interrupt and silence", spec = "All" },
    
    -- Crusader Aura - Mount speed
    [32223] = { name = "Crusader Aura", sp = 0, type = "Buff", isAoE = true, note = "+20% mount speed", spec = "All" },
    
    -- Divine Steed - Mounted movement burst
    [190784] = { name = "Divine Steed", sp = 0, type = "Utility", note = "+100% movement speed for 3 sec", spec = "All" },
    
    -- Intercession - Battle resurrection
    [391054] = { name = "Intercession", sp = 0, type = "Utility", isHeal = true, note = "Battle resurrection", spec = "All" },
    
    -- Aura of Mercy - Passive healing aura
    [183415] = { name = "Aura of Mercy", sp = 0.10, school = "Holy", type = "HoT", isHeal = true, isAoE = true, spec = "All" },
    
    -- Blessing of Spellwarding - Magic immunity
    [204018] = { name = "Blessing of Spellwarding", sp = 0, type = "Defensive", note = "Magic immunity for 10 sec", spec = "All" },
    
    -- ========================================================================
    -- HERO TALENTS - HERALD OF THE SUN (Holy/Retribution)
    -- ========================================================================
    
    -- Sun's Avatar - Major cooldown, empowers Sun abilities
    [431708] = { name = "Sun's Avatar", sp = 0, type = "Buff", note = "Transform into Herald of the Sun", spec = "Herald of the Sun" },
    
    -- Morning Star - Sun-empowered strike
    [431672] = { name = "Morning Star", sp = 1.35, school = "Holy", type = "Direct", spec = "Herald of the Sun" },
    
    -- Aurora - Healing burst from sunlight
    [431709] = { name = "Aurora", sp = 0.85, school = "Holy", type = "Direct", isHeal = true, isAoE = true, spec = "Herald of the Sun" },
    
    -- Eternal Flame - Lingering HoT from heals
    [431710] = { name = "Eternal Flame", sp = 0.30, school = "Holy", type = "HoT", duration = 12, isHeal = true, spec = "Herald of the Sun" },
    
    -- Dawnlight - Empowered Holy damage/healing proc
    [431474] = { name = "Dawnlight", sp = 0.22, school = "Holy", type = "DoT", duration = 8, spec = "Herald of the Sun" },
    [431475] = { name = "Dawnlight", sp = 0.22, school = "Holy", type = "HoT", duration = 8, isHeal = true, spec = "Herald of the Sun" },
    
    -- Lingering Radiance - Sustained healing effect
    [431711] = { name = "Lingering Radiance", sp = 0.15, school = "Holy", type = "HoT", duration = 10, isHeal = true, spec = "Herald of the Sun" },
    
    -- Sun Sear - DoT applied by Sun abilities
    [431712] = { name = "Sun Sear", sp = 0.18, school = "Holy", type = "DoT", duration = 6, spec = "Herald of the Sun" },
    
    -- Gleaming Rays - AoE damage on proc
    [431713] = { name = "Gleaming Rays", sp = 0.55, school = "Holy", type = "Direct", isAoE = true, spec = "Herald of the Sun" },
    
    -- Solar Grace - Movement speed and damage buff
    [431714] = { name = "Solar Grace", sp = 0, type = "Buff", note = "+5% movement speed, +5% Holy damage", spec = "Herald of the Sun" },
    
    -- Luminosity - Holy Shock empowerment
    [431715] = { name = "Luminosity", sp = 0, type = "Passive", note = "Holy Shock triggers additional effects", spec = "Herald of the Sun" },
    
    -- Will of the Dawn - Survival proc
    [431716] = { name = "Will of the Dawn", sp = 0, type = "Passive", note = "Chance to gain absorb when taking damage", spec = "Herald of the Sun" },
    
    -- ========================================================================
    -- HERO TALENTS - TEMPLAR (Retribution/Protection)
    -- ========================================================================
    
    -- Templar Strike - Empowered melee strike (replaces Blade of Justice)
    [407480] = { name = "Templar Strike", sp = 1.25, school = "Holy", type = "Direct", spec = "Templar" },
    
    -- Templar Slash - Follow-up to Templar Strike
    [406647] = { name = "Templar Slash", sp = 1.45, school = "Holy", type = "Direct", spec = "Templar" },
    
    -- Light's Deliverance - Stacking buff to empowered Hammer of Light
    [433674] = { name = "Light's Deliverance", sp = 0, type = "Buff", note = "Stacks to enable Hammer of Light", spec = "Templar" },
    
    -- Hammer of Light - Major damage ability
    [427453] = { name = "Hammer of Light", sp = 2.50, school = "Holy", type = "Direct", isAoE = true, spec = "Templar" },
    
    -- Shake the Heavens - Damage amplifier buff
    [431536] = { name = "Shake the Heavens", sp = 0, type = "Buff", note = "Templar skills +15% damage", spec = "Templar" },
    
    -- Sacrosanct Crusade - AoE damage burst
    [431578] = { name = "Sacrosanct Crusade", sp = 0.75, school = "Holy", type = "Direct", isAoE = true, spec = "Templar" },
    
    -- Undisputed Ruling - Execute enhancement
    [431635] = { name = "Undisputed Ruling", sp = 0, type = "Passive", note = "Hammer of Wrath hits harder", spec = "Templar" },
    
    -- Endless Wrath - Avenging Wrath extension
    [431556] = { name = "Endless Wrath", sp = 0, type = "Passive", note = "Templar skills extend Avenging Wrath", spec = "Templar" },
    
    -- Higher Calling - Damage buff when using Templar abilities
    [431687] = { name = "Higher Calling", sp = 0, type = "Buff", note = "Increased damage after Templar Strike", spec = "Templar" },
    
    -- Bonds of Fellowship - Ally shield/heal
    [431666] = { name = "Bonds of Fellowship", sp = 0.60, school = "Holy", type = "Shield", isHeal = true, spec = "Templar" },
    
    -- Unrelenting Charger - Divine Steed enhancement
    [431653] = { name = "Unrelenting Charger", sp = 0, type = "Passive", note = "Divine Steed knocks back enemies", spec = "Templar" },
    
    -- ========================================================================
    -- HERO TALENTS - LIGHTSMITH (Holy/Protection)
    -- ========================================================================
    
    -- Holy Armaments - Empowered Holy abilities
    [432459] = { name = "Holy Armaments", sp = 0, type = "Buff", note = "Summons Sacred Weapon or Holy Bulwark", spec = "Lightsmith" },
    
    -- Sacred Weapon - Summoned weapon that enhances damage
    [432472] = { name = "Sacred Weapon", sp = 0.45, school = "Holy", type = "Direct", note = "Enchants weapon with Holy power", spec = "Lightsmith" },
    
    -- Holy Bulwark - Absorb shield for ally
    [432496] = { name = "Holy Bulwark", sp = 1.40, school = "Holy", type = "Shield", isHeal = true, spec = "Lightsmith" },
    
    -- Rite of Sanctification - Enhance ally healing received
    [432505] = { name = "Rite of Sanctification", sp = 0, type = "Buff", isHeal = true, note = "+5% healing received", spec = "Lightsmith" },
    
    -- Rite of Adjuration - Increase ally max health
    [432510] = { name = "Rite of Adjuration", sp = 0, type = "Buff", note = "+10% max health", spec = "Lightsmith" },
    
    -- Forewarning - Targets receive absorb shields
    [432517] = { name = "Forewarning", sp = 0.35, school = "Holy", type = "Shield", isHeal = true, spec = "Lightsmith" },
    
    -- Blessed Assurance - Heal over time from Sacred Weapon
    [432523] = { name = "Blessed Assurance", sp = 0.25, school = "Holy", type = "HoT", duration = 8, isHeal = true, spec = "Lightsmith" },
    
    -- Divine Guidance - Enhanced Holy Light/Flash of Light
    [432530] = { name = "Divine Guidance", sp = 0, type = "Passive", note = "Heals apply Holy Bulwark", spec = "Lightsmith" },
    
    -- Hammer and Anvil - Damage proc from armaments
    [432538] = { name = "Hammer and Anvil", sp = 0.65, school = "Holy", type = "Direct", spec = "Lightsmith" },
    
    -- Solidarity - Ally shield when taking damage
    [432545] = { name = "Solidarity", sp = 0.30, school = "Holy", type = "Shield", isHeal = true, spec = "Lightsmith" },
    
    -- Fear No Evil - Defensive enhancement
    [432552] = { name = "Fear No Evil", sp = 0, type = "Buff", note = "Damage reduction when Holy Armament active", spec = "Lightsmith" },
    
    -- Laying Down Arms - Armament explosion heal
    [432559] = { name = "Laying Down Arms", sp = 0.85, school = "Holy", type = "Direct", isHeal = true, isAoE = true, spec = "Lightsmith" },
    
    -- Shared Resolve - Group damage reduction
    [432566] = { name = "Shared Resolve", sp = 0, type = "Buff", isAoE = true, note = "5% damage reduction for allies", spec = "Lightsmith" },
    
    -- Valiance - Enhanced defensive cooldowns
    [432573] = { name = "Valiance", sp = 0, type = "Passive", note = "Divine Shield and BoP enhanced", spec = "Lightsmith" },
}
