LibFail-1.0

API / LibFail-1.0

lib:GetEventSpellId(event_name)

Get a spell id which can be used for a default event string by calling GetSpellInfo()

Parameters

event_name
the event name

Return value

a spell id represting this failure

See also

  • fail_events


lib:GetFailsWhereTanksDoNotFail()

Get a list of events where tanks do not fail, it is the responsibility of the hosting addon to determine who constitutes as a tank and ignore the event fired

Return value

a table of event names which can be fired

See also

  • fail_events


lib:GetSupportedEvents()

Get a list of supported events.

Return value

a table of event names which can be fired

See also

  • fail_events


lib:GetSupportedZoneEvents(name)

Get a list of supported events in the current zone

Parameters

name

Return value

a table of event names which can be fired

See also

  • fail_events


fail_events

1
Fail_Deconstructor_Light
2
Fail_Deconstructor_Gravity
3
Fail_Frogger
4
Fail_Heigan_Dance
5
Fail_KelThuzad_VoidZone
6
Fail_Mimiron_BombBots
7
Fail_Mimiron_Rocket
8
Fail_Mimiron_Shock
9
Fail_Sapphiron_Breath
10
Fail_Sartharion_LavaWaves
11
Fail_Sartharion_VoidZone
12
Fail_Thaddius_Jump
13
Fail_Thaddius_PolaritySwitch
14
Fail_Thorim_LightningChain
15
Fail_Thorim_LightningCharge
16
Fail_Thorim_Smash
17
Fail_Vezax_ShadowCrash
18
Fail_Vezax_Saronite
19
Fail_Hodir_FlashFreeze
20
Fail_Vezax_Leech
21
Fail_Mimiron_LaserBarrage
22
Fail_Mimiron_Flames
23
Fail_Council_Overload
24
Fail_Hodir_Icicle
25
Fail_Grobbulus_PoisonCloud
26
Fail_Freya_NatureBomb
27
Fail_Thorim_Blizzard
28
Fail_Yogg_Sanity
29
Fail_Yogg_DeathRay
30
Fail_Razorscale_Flame
31
Fail_Kologarn_Eyebeam
32
Fail_Auriaya_Voidzone
33
Fail_Hodir_BitingCold
34
Fail_Malygos_Dot
35
Fail_Gormok_FireBomb
36
Fail_Acidmaw_SlimePool
37
Fail_Acidmaw_AcidicSpew
38
Fail_Acidmaw_ParalyticToxin
39
Fail_Dreadscale_MoltenSpew
40
Fail_Icehowl_Trample
41
Fail_Jaraxxus_FelInferno
42
Fail_Jaraxxus_LegionFlame
43
Fail_FactionChampions_Hellfire
44
Fail_Valkyr_Orb
45
Fail_Valkyr_Vortex
46
Fail_Anubarak_Impale
47
Fail_Mimiron_WaterSpray
48
Fail_Mimiron_ProximityMine
49
Fail_Mimiron_FrostBomb
50
Fail_Yogg_LunaticGaze
51
Fail_Algalon_BigBang
52
Fail_Mimiron_Siren
53
Fail_Koralon_MeteorFist
54
Fail_Horsemen_VoideZone
55
Fail_Horsemen_Mark
56
Fail_Onyxia_FlameBreath
57
Fail_Onyxia_TailSweep
58
Fail_Archavon_ChokingCloud
59
Fail_Emalon_LightningNova
60
Fail_Emalon_ChainLightning
61
Fail_Koralon_FlameCinder
62
Fail_Auriaya_SonicScreech
63
Fail_Onyxia_DeepBreath
64
Fail_Algalon_CosmicSmash
65
Fail_Mimiron_NapalmShell
66
Fail_Freya_UnstableEnergy
67
Fail_Council_RuneOfDeath
68
Fail_Grobbulus_MutatingInjection
69
Fail_Yogg_OminousCloud
70
Fail_Marrowgar_Coldflame
71
Fail_Rotface_StickyOoze
72
Fail_Rotface_OozeExplosion
73
Fail_Onyxia_WarderNova
74
Fail_Onyxia_WarderCleave
75
Fail_Onyxia_Cleave
76
Fail_Malygos_ArcaneBreath
77
Fail_Algalon_Blackhole
78
Fail_Yogg_Malady
79
Fail_Freya_GroundTremor
80
Fail_Ignis_FlameJets
81
Fail_Freya_BindLife
82
Fail_Deconstructor_Voidzone
83
Fail_Marrowgar_Whirlwind
84
Fail_Marrowgar_SaberLash
85
Fail_Festergut_VileGas
86
Fail_Festergut_PungentBlight
87
Fail_Sartharion_Breath
88
Fail_Sartharion_TailLash
89
Fail_Deathwhisper_DeathNDecay
90
Fail_Sapphiron_TailSweep
91
Fail_Sapphiron_Cleave
92
Fail_Sindragosa_TailSmash
93
Fail_Sindragosa_FrostBreath
94
Fail_Sindragosa_BlisteringCold
96
Fail_Sindragosa_Cleave
97
Fail_Sindragosa_Instability
98
Fail_Sindragosa_FrostBomb
99
Fail_Sindragosa_IceTomb
100
Fail_Professor_MutatedSlime
101
Fail_LanaThel_UncontrollableFrenzy
102
Fail_LanaThel_BloodboltSplash
103
Fail_BloodPrinces_SystemicShockVortex
104
Fail_LanaThel_DeliriousSlash
105
Fail_Gunship_Explosion
106
Fail_Gunship_Explosion_Knockback
107
Fail_FactionChampions_Bladestorm
108
Fail_Saurfang_Rune
109
Fail_Saurfang_Beasts
110
Fail_Deathwhisper_Shade
111
Fail_Professor_MalleableGoo
112
Fail_Rotface_SlimeSpray
113
Fail_BloodPrinces_Flames
114
Fail_LanaThel_Pact
115
Fail_LanaThel_SwarmingShadows
116
Fail_ColdflameTrap
117
Fail_Professor_ChokingGas
118
Fail_Valithria_ColumnofFrost
119
Fail_TheLichKing_IceBurst
120
Fail_Sindragosa_ChilledtotheBone
121
Fail_TheLichKing_RemorselessWinter
122
Fail_TheLichKing_NecroticPlague
123
Fail_TheLichKing_ShadowTrap
124
Fail_Festergut_MalleableGoo
125
Fail_TheLichKing_Defile
126
Fail_TheLichKing_Shockwave
127
Fail_TheLichKing_SpiritBomb
128
Fail_Deathwhisper_ShadeExplosion
129
Fail_Halion_MeteorStrike
129
Fail_Halion_MeteorStrike
130
Fail_Sindragosa_MysticBuffet
131
Fail_Valithria_EmeraldVigor
132
Fail_TheLichKing_SoulShriek
133
Fail_BloodPrinces_KineticBomb


You must login to post a comment. Don't have an account? Register to get one!