-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDialog.lua
More file actions
642 lines (597 loc) · 20.3 KB
/
Dialog.lua
File metadata and controls
642 lines (597 loc) · 20.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
--[[
Necrosis
Copyright (C) - copyright file included in this release
--]]
------------------------------------------------
-- ENGLISH VERSION TEXTS --
------------------------------------------------
local L = LibStub("AceLocale-3.0"):GetLocale(NECROSIS_ID, true)
-- Ensure L is always a table to prevent nil errors
if not L then
L = {}
-- Set default English strings as fallback
L["NECROSIS_LABEL"] = "Necrosis"
end
function Necrosis:Localization_Dialog()
end
--[[
At initialization, this table will be used to get localized names of items.
The call to GetItemInfo *may* return nil if the local install has not seen these yet *in this session*.
When this occurs, the event GET_ITEM_INFO_RECEIVED is used retrieve the data once
WoW has added it to local cache. https://wow.gamepedia.com/API_GetItemInfo
The lookup is by spell id so SetItem needs to get passed the id from initialization.
This file and Spells.lua are the two places WoW ids are specified. Then short names, localized names, or passed ids are used.
--]]
Necrosis.GetItemsCount = 0 -- used to register / unregister event GET_ITEM_INFO_RECEIVED
local items_to_get = 0
local items_list = { -- Items to get localized names (strings) for
[21340] = "soul_pouch", -- BAG_SOUL_POUCH
[22243] = "small_soul_pouch", -- BAG_SMALL_SOUL_POUCH
[22244] = "box_of_souls", -- BAG_BOX_OF_SOULS
[21341] = "felcloth_bag", -- BAG_FELCLOTH_BAG
[6265] = "soul_shard", -- Soul shard
[5565] = "infernal_stone", -- Infernal stone
[16583] = "demonic_figurine", -- Demonic figurine
[16893] = "soul_stone", -- Soul stone
[5509] = "health_stone", -- Health stone
[5522] = "spell_stone", -- Spell stone
[1254] = "fire_stone", -- Fire stone
[6948] = "hearth_stone", -- Hearth stone
}
--[[
At initialization, this table will be filled with localized names.
- index will be the short name from items_list
- value will be the localized name
--]]
local items_by_name = {}
-- helper routines: getters and setters for the localized items list so the list remains hidden
function Necrosis.SetItem(item_id, succ) -- called from event handler
-- Only process an id we care about!
local short_name = items_list[item_id]
local l_name = ""
if name then
l_name = name -- have localized name
else
l_name = "" -- need to wait for server...
end
if short_name then -- safety, do not inflict errors on the player
items_by_name[short_name] = l_name -- safe to assign
end
-- Should always be an id we care about! But have seen the server spam odd ids, some not in Classic
if succ and items_list[item_id] then
items_by_name[items_list[item_id]] = Necrosis.Utils.GetItemName(item_id) -- just get the localized name
items_to_get = items_to_get - 1
if Necrosis.Debug.init_path then
_G["DEFAULT_CHAT_FRAME"]:AddMessage("SetItem"
.." i'"..tostring(item_id or "nyl").."'"
.." s'"..tostring(succ or "nyl").."'"
.." n'"..tostring(items_by_name[items_list[item_id]] or "nyl").."'"
.." c'"..tostring(items_to_get or "nyl").."'"
)
end
-- the info is now in local cache...
end
end
function Necrosis.GetItemList() -- Debug
return items_list
end
function Necrosis.GetItemNames() -- Debug
return items_by_name
end
function Necrosis.GetItem(item_name) -- needs to be string value in items_list
local res = ""
if items_by_name[item_name] then
res = items_by_name[item_name]
else
res = "" -- nil would create Lua errors
end
return res
end
function Necrosis.InitWarlockItems()
items_to_get = 0
for i,v in pairs(items_list) do
local name = Necrosis.Utils.GetItemName(i) -- just get the localized name
if name then
items_by_name[v] = name -- got the info
else
-- rely on GET_ITEM_INFO_RECEIVED to fill in
items_to_get = items_to_get + 1
end
if Necrosis.Debug.init_path then
_G["DEFAULT_CHAT_FRAME"]:AddMessage("InitWarlockItems"
.." i'"..tostring(i or "nyl").."'"
.." n'"..tostring(name or "nyl").."'"
)
end
end
if Necrosis.Debug.init_path then
_G["DEFAULT_CHAT_FRAME"]:AddMessage("InitWarlockItems"
.." ic'"..tostring(items_to_get or "nyl").."'"
)
end
end
function Necrosis.WarlockItemsDone()
local res = true
for i,v in pairs(items_list) do
--[[
_G["DEFAULT_CHAT_FRAME"]:AddMessage("WarlockItemsDone"
.." i'"..tostring(i or "nyl").."'"
.." v'"..tostring(v or "nyl").."'"
.." n'"..tostring(items_by_name[v] or "nyl").."'"
.." c'"..tostring(items_to_get or "nyl").."'"
)
--]]
if items_by_name[v] == ""
or items_by_name[v] == nil then -- need info
res = false
break -- no need to check more
else
-- have data
end
end
return res
end
Necrosis.HealthstoneCooldown = (L and L["NECROSIS_LABEL"]) or "Necrosis"
--[[
-- Resource: https://wow.tools/dbc/?dbc=globalstrings
Necrosis.Localize = {
["Utilisation"] = USE, --L["USE"],
["Echange"] = TRADE, --L["TRADE"],
}
--]]
Necrosis.TooltipData = {
["Main"] = {
Label = (L and L["NECROSIS_LABEL"]) or "Necrosis",
Stone = {
[true] = YES, --L["YES"], global strings
[false] = NO, --L["NO"],
},
--[[
Hellspawn = {
[true] = L["ON"],
[false] = L["OFF"],
},
--]]
["Soulshard"] = L["SOUL_SHARD_LABEL"],
["InfernalStone"] = L["INFERNAL_STONE_LABEL"],
["DemoniacStone"] = L["DEMONIAC_STONE_LABEL"],
["Soulstone"] = L["SOUL_STONE_LABEL"],
["Healthstone"] = L["HEALTH_STONE_LABEL"],
["Spellstone"] = L["SPELL_STONE_LABEL"],
["Firestone"] = L["FIRE_STONE_LABEL"],
["CurrentDemon"] = L["CURRENT_DEMON"],
["EnslavedDemon"] = L["ENSLAVED_DEMON"],
["NoCurrentDemon"] = L["NO_CURRENT_DEMON"],
},
--[[
34224, CLASS_WARLOCK_SPELLNAME2, Soulstone
--]]
["Soulstone"] = {
Label = "|c00FF99FF"..L["SOUL_STONE"].."|r",
Text = {L["SOULSTONE_TEXT_1"],L["SOULSTONE_TEXT_2"],L["SOULSTONE_TEXT_3"],L["SOULSTONE_TEXT_4"]},
Ritual = L["SOULSTONE_RITUAL"]
},
["Healthstone"] = {
Label = "|c0066FF33"..L["HEALTH_STONE"].."|r",
Text = {L["HEALTHSTONE_TEXT_1_1"],L["HEALTHSTONE_TEXT_1_2"]},
Text2 = L["HEALTHSTONE_TEXT_2"],
Ritual = L["HEALTHSTONE_RITUAL"]
},
["Spellstone"] = {
Label = "|c0099CCFF"..L["SPELL_STONE"].."|r",
Text = {L["SPELLSTONE_TEXT_1"],L["SPELLSTONE_TEXT_2"],L["SPELLSTONE_TEXT_3"], L["SPELLSTONE_TEXT_4"]}
},
["Firestone"] = {
Label = "|c00FF4444"..L["FIRE_STONE"].."|r",
Text = {L["FIRESTONE_TEXT_1"],L["FIRESTONE_TEXT_2"],L["FIRESTONE_TEXT_3"], L["FIRESTONE_TEXT_4"]}
},
["SpellTimer"] = {
Label = L["SPELLTIMER_LABEL"],
Text = L["SPELLTIMER_TEXT"],
Right = L["SPELLTIMER_RIGHT"],
Left = L["SPELLTIMER_LEFT"]
},
["ShadowTrance"] = {
Label = L["SHADOW_TRANCE_LABEL"]
},
["Backlash"] = {
Label = L["BACKLASH_LABEL"]
},
["Banish"] = {
Text = L["BANISH_TEXT"]
},
["Imp"] = {
Label = "" --L["IMP_LABEL"]
},
["Voidwalker"] = {
Label = "" --L["VOIDWALKER_LABEL"]
},
["Succubus"] = {
Label = "" --L["SUCCUBUS_LABEL"]
},
["Inccubus"] = {
Label = "" --L["SUCCUBUS_LABEL"]
},
["Felhunter"] = {
Label = "" --L["FELHUNTER_LABEL"]
},
["Felguard"] = {
Label = "" --L["FELGUARD_LABEL"]
},
["Infernal"] = {
Label = "" --L["INFERNAL_LABEL"]
},
["Doomguard"] = {
Label = "" --L["DOOMGUARD_LABEL"]
},
["Mount"] = {
Label = L["MOUNTS_LABEL"],
Text = L["MOUNT_TEXT"],
},
["BuffMenu"] = {
Label = L["BUFF_MENU_LABEL"],
Text = L["BUFF_MENU_TEXT_1"],
Text2 = L["BUFF_MENU_TEXT_2"],
},
["PetMenu"] = {
Label = L["PET_MENU_LABEL"],
Text = L["PET_MENU_TEXT_1"],
Text2 = L["PET_MENU_TEXT_2"],
},
["CurseMenu"] = {
Label = L["CURSE_MENU_LABEL"],
Text = L["CURSE_MENU_LABEL"],
Text2 = L["CURSE_MENU_TEXT_2"],
},
["DestroyShards"] = {
Label = L["DESTROY_SHARD_MENU_LABEL"],
Text = L["DESTROY_SHARD_MENU_TEXT"],
},
["DominationCooldown"] = L["DOMINATION_COOLDOWN"],
["DominationCooldown2"] = "Shift-Clic[R] to Sacrifice",
-- These are filled when the frame is created and the localized spell names are known
-- curses
["Weakness"] = {
Label = ""
},
["Agony"] = {
Label = ""
},
["Tongues"] = {
Label = ""
},
["Exhaust"] = {
Label = ""
},
["Elements"] = {
Label = ""
},
["Doom"] = {
Label = ""
},
["Corruption"] = {
Label = ""
},
["Reckless"] = {
Label = ""
},
["Shadow"] = {
Label = ""
},
-- pets buffs
["Domination"] = {
Label = ""
},
["Banish"] = {
Label = ""
},
["Enslave"] = {
Label = ""
},
["Sacrifice"] = {
Label = ""
},
-- various buffs
["Armor"] = {
Label = ""
},
["FelArmor"] = {
Label = ""
},
["Aqua"] = {
Label = ""
},
["Invisible"] = {
Label = ""
},
["Kilrogg"] = {
Label = ""
},
["TP"] = {
Label = ""
},
["SoulLink"] = {
Label = ""
},
["ShadowProtection"] = {
Label = ""
},
}
Necrosis.Sound = {
["Fear"] = L["SOUND_FEAR"],
["SoulstoneEnd"] = L["SOUND_SOUL_STONE_END"],
["EnslaveEnd"] = L["SOUND_ENSLAVE_END"],
["ShadowTrance"] = L["SOUND_SHADOW_TRANCE"],
["Backlash"] = L["SOUND_BACKLASH"],
}
Necrosis.ProcText = {
["ShadowTrance"] = L["PROC_SHADOW_TRANCE"],
["Backlash"] = L["PROC_BACKLASH"],
["Moltencore"] = L["PROC_MOLTENCORE"],
}
Necrosis.ChatMessage = {
["Bag"] = {
["FullPrefix"] = L["BAG_FULL_PREFIX"],
["FullSuffix"] = L["BAG_FULL_SUFFIX"],
["FullDestroySuffix"] = L["BAG_FULL_DESTROY_PREFIX"],
},
["Interface"] = {
["Welcome"] = L["INTERFACE_WELCOME"],
["RetailAnnouncement"] = L["RETAIL_ANNOUNCEMENT"],
["TooltipOn"] = L["INTERFACE_TOOLTIP_ON"],
["TooltipOff"] = L["INTERFACE_TOOLTIP_OFF"],
["MessageOn"] = L["INTERFACE_MESSAGE_ON"],
["MessageOff"] = L["INTERFACE_MESSAGE_OFF"],
["DefaultConfig"] = L["INTERFACE_DEFAULT_CONFIG"],
["UserConfig"] = L["INTERFACE_USER_CONFIG"],
},
["Help"] = {
L["HELP_1"],
L["HELP_2"],
},
["Information"] = {
["FearProtect"] = L["INFO_FEAR_PROTECT"],
["EnslaveBreak"] = L["INFO_ENSLAVE_BREAK"],
["SoulstoneEnd"] = L["INFO_SOUL_STONE_END"]
}
}
-- Gestion XML - Menu de configuration
Necrosis.Config.Panel = {
L["CONFIG_MESSAGE"],
L["CONFIG_SPHERE"],
L["CONFIG_BUTTON"],
L["CONFIG_MENU"],
L["CONFIG_TIMER"],
L["CONFIG_MISC"],
L["CONFIG_SUMMONQUEUE"],
}
Necrosis.Config.Messages = {
["Position"] = L["MSG_POSITION"],
["Afficher les bulles d'aide"] = L["MSG_SHOW_TIPS"],
["Afficher les messages dans la zone systeme"] = L["MSG_SHOW_SYS"],
["Activer les messages aleatoires de TP et de Rez"] = L["MSG_RANDOM"],
["Utiliser des messages courts"] = L["MSG_USE_SHORT"],
["Activate_random_summons_messages"] = L["MSG_RANDOM_SUMMONS"],
["Activate_random_soulstone_messages"] = L["MSG_RANDOM_SOULSTONE"],
["Activer egalement les messages pour les Demons"] = L["MSG_RANDOM_DEMON"],
["Activer egalement les messages pour les Montures"] = L["MSG_RANDOM_STEED"],
["Activer egalement les messages pour le Rituel des ames"] = L["MSG_RANDOM_SOULS"],
["Activer les sons"] = L["MSG_SOUNDS"],
["Alerter quand la cible est insensible a la peur"] = L["MSG_WARN_FEAR"],
["Alerter quand la cible peut etre banie ou asservie"] = L["MSG_WARN_BANISH"],
["M'alerter quand j'entre en Transe"] = L["MSG_WARN_TRANCE"],
}
Necrosis.Config.Sphere = {
["Taille de la sphere"] = L["SPHERE_SIZE"],
["Skin de la pierre Necrosis"] = L["SPHERE_SKIN"],
["Evenement montre par la sphere"] = L["SPHERE_EVENT"],
["Sort caste par la sphere"] = L["SPHERE_SPELL"],
["Sort caste par la sphere2"] = L["SPHERE_SPELL2"],
["Afficher le compteur numerique"] = L["SPHERE_COUNTER"],
["Shift+Clic on Sphere to del. Shards"] = L["SPHERE_SPELL_RIGHTCLICK"],
["Type de compteur numerique"] = L["SPHERE_STONE"],
}
Necrosis.Config.Sphere.Colour = {
L["CATA"],
L["BLUE"],
L["ORANGE"],
L["TURQUOISE"],
L["PURPLE"],
L["PURPLE2"],
L["666"],
L["X"],
}
Necrosis.Config.Sphere.Count = {
L["SOUL_SHARDS"],
L["DEMON_SUMMON_STONES"],
L["REZ_TIMER"],
L["MANA"],
L["HEALTH"],
}
Necrosis.Config.Buttons = {
["Rotation des boutons"] = L["BUTTONS_ROTATION"],
["Fixer les boutons autour de la sphere"] = L["BUTTONS_STICK"],
["Utiliser mes propres montures"] = L["BUTTONS_MOUNT"],
["Choix des boutons a afficher"] = L["BUTTONS_SELECTION"],
["Monture - Clic gauche"] = L["BUTTONS_LEFT"],
["Monture - Clic droit"] = L["BUTTONS_RIGHT"],
["Monture - Ctrl+Clic gauche"] = L["BUTTONS_CTRL-LEFT"],
["Monture - Ctrl+Clic droit"] = L["BUTTONS_CTRL-RIGHT"],
["Boutons Pierres"] = L["BOUTONS_PIERRES"],
["Boutons d'Action"] = L["BOUTONS_ACTION"],
["Montures"] = L["MOUNTS_TITLE"],
}
Necrosis.Config.Buttons.Name = {
L["SHOW_FIRE_STONE"],
L["SHOW_SPELL_STONE"],
L["SHOW_HEALTH_STONE"],
L["SHOW_SOUL_STONE"],
L["SHOW_SPELL"],
L["SHOW_STEED"],
L["SHOW_DEMON"],
L["SHOW_CURSE"],
L["SHOW_DESTROY_SHARDS"],
}
Necrosis.Config.Menus = {
["Options Generales"] = L["MENU_GENERAL"],
["Menu des Buffs"] = L["MENU_SPELLS"],
["Menu des Demons"] = L["MENU_DEMONS"],
["Menu des Maledictions"] = L["MENU_CURSES"],
["Afficher les menus en permanence"] = L["MENU_ALWAYS"],
["Afficher automatiquement les menus en combat"] = L["MENU_AUTO_COMBAT"],
["Fermer le menu apres un clic sur un de ses elements"] = L["MENU_CLOSE_CLICK"],
["Orientation du menu"] = L["MENU_ORIENTATION"],
["Quick Sacrifice (Summ. & Sacr."] = L["MENU_QUICK_SACRIFICE"],
["Changer la symetrie verticale des boutons"] = L["MENU_VERT"],
["Taille du bouton Banir"] = L["MENU_BANISH"],
}
Necrosis.Config.Menus.Orientation = {
L["HORIZONTAL"],
L["UPWARDS"],
L["DOWNWARDS"],
}
Necrosis.Config.Timers = {
["Type de timers"] = L["TIMER_TYPE"],
["Afficher le bouton des timers"] = L["TIMER_SPELL"],
["Transparence des timers"] = L["TIMER_ALPHA"],
["Afficher les timers sur la gauche du bouton"] = L["TIMER_LEFT"],
["Afficher les timers de bas en haut"] = L["TIMER_UP"],
}
Necrosis.Config.Timers.Type = {
L["NO_TIMER"],
L["GRAPHICAL"],
L["TEXTUAL"],
}
Necrosis.Config.Misc = {
["Deplace les fragments"] = L["MISC_SHARDS_BAG"],
["Detruit les fragments si le sac plein"] = L["MISC_SHARDS_DESTROY"],
["Choix du sac contenant les fragments"] = L["MISC_BAG"],
["Nombre maximum de fragments a conserver"] = L["MISC_SHARDS_MAX"],
["Verrouiller Necrosis sur l'interface"] = L["MISC_LOCK"],
["Afficher les boutons caches"] = L["MISC_HIDDEN"],
["Taille des boutons caches"] = L["MISC_HIDDEN_SIZE"],
}
-- From Functions.lua
-- Types d'unité des PnJ utilisés par Necrosis
Necrosis.Unit = {
["Undead"] = L["UNDEAD"],
["Demon"] = L["DEMON"],
["Elemental"] = L["ELEMENTAL"],
}
-- Traduction du nom des procs utilisés par Necrosis
Necrosis.Translation.Proc = {
["Backlash"] = L["BACKLASH"], -- https://classicdb.ch/?spell=4947 not sure this right one
["ShadowTrance"] = L["SHADOW_TRANCE"] -- https://classicdb.ch/?spell=17941 (6) Apply Aura #108: Add % Modifier (10)
}
-- Traduction des noms des démons invocables
Necrosis.Translation.DemonName = {
[1] = L["IMP"],
[2] = L["VOIDWALKER"],
[3] = L["SUCCUBUS"],
[4] = L["INCCUBUS"],
[5] = L["FELHUNTER"],
[6] = L["FELGUARD"],
[7] = L["INFERNAL"],
[8] = L["DOOMGUARD"],
}
Necrosis.NameDemon = {
[1] = "imp",
[2] = "Voidwalker",
[3] = "Succubus",
[4] = "Inccubus",
[5] = "Felhunter",
[6] = "Felguard",
[7] = "Infernal",
[8] = "Doomguard",
}
-- Traduction du nom des objets utilisés par Necrosis
Necrosis.Translation.Item = {
["Soulshard"] = L["SOUL_SHARD"], -- https://classicdb.ch/?item=6265
["Soulstone"] = L["SOUL_STONE"], -- below
["Healthstone"] = L["HEALTH_STONE"],
["Spellstone"] = L["SPELL_STONE"],
["Firestone"] = L["FIRE_STONE"],
["InfernalStone"] = L["INFERNAL_STONE"],
["DemoniacStone"] = L["DEMONIAC_STONE"],
["Hearthstone"] = L["HEARTH_STONE"], -- https://classicdb.ch/?item=6948
}
--[[
Minor Healthstone https://classicdb.ch/?item=19004 : create https://classicdb.ch/?spell=23518
https://classicdb.ch/?item=19004 https://classicdb.ch/?item=19005 ??
Lesser Healthstone https://classicdb.ch/?item=5511 : https://classic.wowhead.com/spell=6202/create-healthstone-lesser
https://classic.wowhead.com/item=19007/lesser-healthstone ??
Healthstone https://classicdb.ch/?item=5509 https://classicdb.ch/?item=19008 https://classicdb.ch/?item=19009
Greater https://classicdb.ch/?item=5510 https://classicdb.ch/?item=19010 https://classicdb.ch/?item=19011
Major https://classicdb.ch/?item=9421 https://classicdb.ch/?item=19012 https://classicdb.ch/?item=19011
Spell Stone https://classicdb.ch/?item=5522
Major https://classicdb.ch/?item=13603
Greater https://classicdb.ch/?item=13602
Lesser http://classicdb.ch/?item=1254 :: https://classicdb.ch/?spell=6366
Firestone https://classicdb.ch/?item=13699 :: https://classicdb.ch/?spell=17951
Greater https://classicdb.ch/?item=13700 :: https://classicdb.ch/?spell=17952
Major http://classicdb.ch/?item=13701 :: https://classicdb.ch/?spell=17953
Infernal https://classicdb.ch/?item=5565
--]]
--[[
-- IG stones ranks || Traduction du nom des rang de pierres
-- there is a fifth one but without 'name' (some bug may lie here)
Necrosis.Translation.StoneRank = {
["Minor"] = L["MINOR"],
["Major"] = L["MAJOR"],
["Lesser"] = L["LESSER"],
["Greater"] = L["GREATER"],
}
Necrosis.Translation.Soulstones = { -- new
["Minor"] = L["MINOR"], -- /script DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:5232:0:0:0:0:0:0:0:0\124h[Minor Soulstone]\124h\124r")
["Major"] = L["MAJOR"], -- /script DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:16896:0:0:0:0:0:0:0:0\124h[Major Soulstone]\124h\124r")
["Lesser"] = L["LESSER"], -- /script DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:16892:0:0:0:0:0:0:0:0\124h[Lesser Soulstone]\124h\124r")
["Greater"] = L["GREATER"], -- /script DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:16895:0:0:0:0:0:0:0:0\124h[Greater Soulstone]\124h\124r")
-- /script DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:16893:0:0:0:0:0:0:0:0\124h[Soulstone]\124h\124r");
}
--]]
-- Traductions diverses
Necrosis.Translation.Misc = {
["Cooldown"] = L["COOLDOWN"],
["Rank"] = L["RANK"],
["Create"] = L["CREATE"],
}
-- Gestion de la détection des cibles protégées contre la peur
Necrosis.AntiFear = {
-- Buffs giving temporary immunity to fear effects
["Buff"] = {
Necrosis.Utils.GetSpellName(19337), --L["ANTI_FEAR_BUFF_FEAR_WARD"], -- Dwarf priest racial trait
Necrosis.Utils.GetSpellName(7744), --L["ANTI_FEAR_BUFF_FORSAKEN"], -- Forsaken racial trait
Necrosis.Utils.GetSpellName(12733), --L["ANTI_FEAR_BUFF_FEARLESS"], -- Trinket
Necrosis.Utils.GetSpellName(18499), --L["ANTI_FEAR_BUFF_BERSERK"], -- Warrior Fury talent
Necrosis.Utils.GetSpellName(1719), --L["ANTI_FEAR_BUFF_RECKLESS"], -- Warrior Fury talent
Necrosis.Utils.GetSpellName(12328), --L["ANTI_FEAR_BUFF_WISH"], -- Warrior Fury talent
Necrosis.Utils.GetSpellName(19574), --L["ANTI_FEAR_BUFF_WRATH"], -- Hunter Beast Mastery talent
Necrosis.Utils.GetSpellName(11958), --L["ANTI_FEAR_BUFF_ICE"], -- Mage Ice talent
Necrosis.Utils.GetSpellName(498), --L["ANTI_FEAR_BUFF_PROTECT"], -- Paladin Holy buff
Necrosis.Utils.GetSpellName(642), --L["ANTI_FEAR_BUFF_SHIELD"], -- Paladin Holy buff
Necrosis.Utils.GetSpellName(8143), --L["ANTI_FEAR_BUFF_TREMOR"], -- Shaman totem
Necrosis.Utils.GetSpellName(776), --L["ANTI_FEAR_BUFF_ABOLISH"], -- Majordomo (NPC) spell
},
-- Debuffs and curses giving temporary immunity to fear effects
["Debuff"] = {
Necrosis.Utils.GetSpellName(704), --L["ANTI_FEAR_DEBUFF_RECKLESS"], -- While under this curse the target ignores fear and horror
}
--[[
"Fear Ward", -- Dwarf priest racial trait https://classicdb.ch/?spell=6346#taught-by-quest :: https://classicdb.ch/?spell=19337
"Will of the Forsaken", -- Forsaken racial trait https://classicdb.ch/?spell=7744
"Fearless", -- Trinket https://classicdb.ch/?spell=12733
"Berserker Rage", -- Warrior Fury talent https://classicdb.ch/?spell=18499 -- Improved Berserker Rage
"Recklessness", -- Warrior Fury talent https://classicdb.ch/?spell=1719
"Death Wish", -- Warrior Fury talent https://classicdb.ch/?spell=12328
"Bestial Wrath", -- Hunter Beast Mastery talent https://classicdb.ch/?spell=19574
"Ice Block", -- Mage Ice talent https://classicdb.ch/?spell=11958 https://classicdb.ch/?spell=27619 (not classic??)::
-- :: Despawn Ice Block https://classicdb.ch/?spell=30132 https://classicdb.ch/?spell=28523
"Divine Protection", -- Paladin Holy buff 1 https://classicdb.ch/?spell=498 2 https://classicdb.ch/?spell=5573 :: https://classicdb.ch/?spell=13007
"Divine Shield", -- Paladin Holy buff 1 https://classicdb.ch/?spell=642 2 https://classicdb.ch/?spell=1020 :: https://classicdb.ch/?spell=13874
"Tremor Totem", -- Shaman totem https://classicdb.ch/?spell=8143 :: https://classicdb.ch/?spell=8144
"Abolish Magic" -- Majordomo (NPC) spell https://classicdb.ch/?spell=776 :: https://classicdb.ch/?spell=1437
"Curse of Recklessness", -- 1 https://classicdb.ch/?spell=704 2 https://classicdb.ch/?spell=7658 3 https://classicdb.ch/?spell=7659 4 https://classicdb.ch/?spell=11717 :: https://classicdb.ch/?spell=16231
--]]
--[[
--]]
}