スポンサーサイト

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

LoseControl

応急処置です
CCとSilenceのみに対応
バグレポート募集
2012/09/17/17:19 DruidのFae Silence追加 他バグ修正

普通に更新きてました^^^
-------------------------------------------------------------------------------
local spellIds = {
-- Death Knight
[91800] = "CC", -- Gnaw (Ghoul)
[91797] = "CC", -- Monstrous Blow (Super ghoul)
[108194]= "CC", -- Asphyxiate
[47476] = "Silence", -- Strangulate
[45524] = "Snare", -- Chains of Ice (can also be a root with Chilblains but no way to differentiate?)
[] = "Snare", -- Desecration
[] = "Snare", -- Chilblains
-- Druid
[5211] = "CC", -- MightyBash
[114238]= "Silence", -- Fae Silence
[33786] = "CC", -- Cyclone
[2637] = "CC", -- Hibernate
[22570] = "CC", -- Maim
[9005] = "CC", -- Pounce
[78675] = "Silence", -- Solar Beam
[339] = "Root", -- Entangling Roots
[45334] = "Root", -- Feral Charge Effect
[] = "Snare", -- Infected Wounds
[61391] = "Snare", -- Typhoon
-- Hunter
[1499] = "CC", -- Freezing Trap Effect
[19577] = "CC", -- Intimidation
[1513] = "CC", -- Scare Beast
[19503] = "CC", -- Scatter Shot
[19386] = "CC", -- Wyvern Sting
[109248]= "CC", -- Binding Shot
[117526]= "CC", -- Binding Shot stan Effect
[34490] = "Silence", -- Silencing Shot
[] = "Root", -- Counterattack
[19185] = "Root", -- Entrapment
[35101] = "Snare", -- Concussive Barrage
[5116] = "Snare", -- Concussive Shot
[13810] = "Snare", -- Frost Trap Aura
[61394] = "Snare", -- Glyph of Freezing Trap
[] = "Snare", -- Wing Clip
-- Hunter Pets
[50519] = "CC", -- Sonic Blast (Bat)
[50541] = "Disarm", -- Snatch (Bird of Prey)
[54644] = "Snare", -- Froststorm Breath (Chimera)
[50245] = "Root", -- Pin (Crab)
[] = "Snare", -- Tendon Rip (Hyena)
[90337] = "CC", -- Bad Manner (Monkey)
[54706] = "Root", -- Venom Web Spray (Silithid)
[4167] = "Root", -- Web (Spider)
-- Mage
[44572] = "CC", -- Deep Freeze
[31661] = "CC", -- Dragon's Breath
[] = "CC", -- Improved Polymorph
[118] = "CC", -- Polymorph
[82691] = "CC", -- Ring of Frost
[55021] = "Silence", -- Silenced - Improved Counterspell
[102051]= "Silence", -- FrostJaw
[] = "Disarm", -- Fiery Payback
[33395] = "Root", -- Freeze (Water Elemental)
[122] = "Root", -- Frost Nova
[] = "Root", -- Improved Cone of Cold
[] = "Root", -- Shattered Barrier
[11113] = "Snare", -- Blast Wave
[6136] = "Snare", -- Chilled (generic effect, used by lots of spells [looks weird on Improved Blizzard, might want to comment out])
[120] = "Snare", -- Cone of Cold
[116] = "Snare", -- Frostbolt
[44614] = "Snare", -- Frostfire Bolt
[31589] = "Snare", -- Slow
-- Paladin
[853] = "CC", -- Hammer of Justice
[105593]= "CC", -- Fist of Justice
[119072]= "CC", -- Holy Wrath
[20066] = "CC", -- Repentance
[10326] = "CC", -- Turn Evil
[31935] = "Silence", -- Avenger's Shield
[63529] = "Snare", -- Dazed - Avenger's Shield
[20170] = "Snare", -- Seal of Justice (100% movement snare; druids and shamans might want this though)
-- Priest
[605] = "CC", -- Dominate Mind
[64044] = "CC", -- Psychic Horror
[113792]= "CC", -- Psychic Terror
[8122] = "CC", -- Psychic Scream
[9484] = "CC", -- Shackle Undead
[87204] = "CC", -- Sin and Punishment
[15487] = "Silence", -- Silence
--[64058] = "Disarm", -- Psychic Horror (duplicate debuff names not allowed atm, need to figure out how to support this later)
[87194] = "Root", -- Paralysis
[15407] = "Snare", -- Mind Flay
-- Rogue
[2094] = "CC", -- Blind
[1833] = "CC", -- Cheap Shot
[1776] = "CC", -- Gouge
[408] = "CC", -- Kidney Shot
[6770] = "CC", -- Sap
[1330] = "Silence", -- Garrote - Silence
[] = "Silence", -- Silenced - Improved Kick
[51722] = "Disarm", -- Dismantle
[] = "Snare", -- Blade Twisting
[3409] = "Snare", -- Crippling Poison
[26679] = "Snare", -- Deadly Throw
-- Shaman
[76780] = "CC", -- Bind Elemental
[61882] = "CC", -- Earthquake
[51514] = "CC", -- Hex
[] = "CC", -- Stoneclaw Stun
[64695] = "Root", -- Earthgrab (Earth's Grasp)
[63685] = "Root", -- Freeze (Frozen Power)
[3600] = "Snare", -- Earthbind (5 second duration per pulse, but will keep re-applying the debuff as long as you stand within the pulse radius)
[8056] = "Snare", -- Frost Shock
[8034] = "Snare", -- Frostbrand Attack
-- Warlock
[] = "CC", -- Aura of Foreboding
[89766] = "CC", -- Axe Toss (Felguard)
[710] = "CC", -- Banish
[6789] = "CC", -- Mortal Coil
[54786] = "CC", -- Demon Leap
[118699]= "CC", -- Fear
[5484] = "CC", -- Howl of Terror
[6358] = "CC", -- Seduction (Succubus)
[115268]= "CC", -- Mesmerize (Shivarra)
[30283] = "CC", -- Shadowfury
[24259] = "Silence", -- Spell Lock (Felhunter)
[115782]= "Silence", -- Optical Blast (Observer)
[31117] = "Silence", -- Unstable Affliction
--[93974] = "Root", -- Aura of Foreboding (duplicate debuff names not allowed atm, need to figure out how to support this later)
[] = "Snare", -- Aftermath
[18223] = "Snare", -- Curse of Exhaustion
[63311] = "Snare", -- Shadowsnare (Glyph of Shadowflame)
-- Warrior
[7922] = "CC", -- Charge Stun
[20511] = "CC", -- Intimidating Shout
[132168]= "CC", -- Shockwave
[18498] = "Silence", -- Silenced - Gag Order
[676] = "Disarm", -- Disarm
[] = "Root", -- Improved Hamstring
[1715] = "Snare", -- Hamstring
[12323] = "Snare", -- Piercing Howl
-- Other
[30217] = "CC", -- Adamantite Grenade
[67769] = "CC", -- Cobalt Frag Bomb
[30216] = "CC", -- Fel Iron Bomb
[13327] = "CC", -- Reckless Charge
[56] = "CC", -- Stun
[20549] = "CC", -- War Stomp
[25046] = "Silence", -- Arcane Torrent
[39965] = "Root", -- Frost Grenade
[55536] = "Root", -- Frostweave Net
[13099] = "Root", -- Net-o-Matic
[] = "Snare", -- Dazed
-- CC Immunities
[19574] = "Immune", -- Bestial Wrath (Hunter pet)
[46924] = "Immune", -- Bladestorm (Warrior)
[19263] = "Immune", -- Deterrence [except aoe?] (Hunter)
[47585] = "Immune", -- Dispersion (Priest)
[642] = "Immune", -- Divine Shield (Paladin)
[45438] = "Immune", -- Ice Block (Mage)
--[54216] = "Immune", -- Master's Call (Hunter pet + target, root and snare immune only)
-- Spell Immunities
[48707] = "ImmuneSpell", -- Anti-magic Shell (Death Knight)
[31224] = "ImmuneSpell", -- Cloak of Shadows (Rogue)
[8178] = "ImmuneSpell", -- Grounding Totem Effect [exept aoe] (Shaman)
[23920] = "ImmuneSpell", -- Spell Reflection [except aoe] (Warrior)
-- Other Immunities - optional, not sure how to handle these; many have durations that are quite long
--[18499] = "ImmuneFearIncapacitate", -- Berserker Rage (Warrior)
--[45182] = "ImmuneDamage", -- Cheating Death [only 90% immune] (Rogue)
--[5277] = "ImmuneMelee", -- Evasion [only +50% immune to melee, +25% to ranged] (Rogue)
--[48792] = "ImmuneStun", -- Icebound Fortitude [stuns] (Death Knight)
--[49039] = "ImmuneFearPoly", -- Lichborne [charm, fear, sleep, hex, polymorph] (Death Knight)
--[51271] = "ImmuneMove", -- Pillar of Frost (Death Knight)
-- PvE
[11428] = "PvE", -- Knockdown (generic)
[28169] = "PvE", -- Mutating Injection (Grobbulus)
[28059] = "PvE", -- Positive Charge (Thaddius)
[28084] = "PvE", -- Negative Charge (Thaddius)
[27819] = "PvE", -- Detonate Mana (Kel'Thuzad)
[63024] = "PvE", -- Gravity Bomb (XT-002 Deconstructor)
[63018] = "PvE", -- Light Bomb (XT-002 Deconstructor)
[62589] = "PvE", -- Nature's Fury (Freya, via Ancient Conservator)
[63276] = "PvE", -- Mark of the Faceless (General Vezax)
[66770] = "PvE", -- Ferocious Butt (Icehowl)
}
local abilities = {} -- localized names are saved here
for k, v in pairs(spellIds) do
local name = GetSpellInfo(k)
if name then
abilities[name] = v
else -- Thanks to inph for this idea. Keeps things from breaking when Blizzard changes things.
log(addonName .. " unknown spellId: " .. k)
end
end

-------------------------------------------------------------------------------

コメントの投稿

非公開コメント

プロフィール

kassi

Author:kassi
Realm:Tichondrius
陣営:Alliance
Class:Warlock
Guild:Foxtail Grass
Season14,15Gladiatorの自称名人様によるブログです。

Warlock:2790
Hunter:2427
Shaman:2402
Priest:2176
DK:2100

まずお読み下さい↓
【はじめに】
記事まとめ↓
【Index】

最新記事
最新トラックバック
月別アーカイブ
カテゴリ
カウンター
検索フォーム
RSSリンクの表示
リンク
ブロとも申請フォーム

この人とブロともになる

上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。