TrinityCore
brewfest.cpp
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include "ScriptMgr.h"
19#include "CreatureAIImpl.h"
20#include "Player.h"
21#include "SpellAuraEffects.h"
22#include "SpellScript.h"
23#include "World.h"
24
26{
38
39 // Quest
43};
44
45// 42924 - Giddyup!
47{
48 void OnChange(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
49 {
50 Unit* target = GetTarget();
52 {
53 target->RemoveAura(GetId());
54 return;
55 }
56
57 if (target->HasAura(SPELL_EXHAUSTED_RAM))
58 return;
59
60 switch (GetStackAmount())
61 {
62 case 1: // green
65 target->CastSpell(target, SPELL_RAM_TROT, true);
66 break;
67 case 6: // yellow
70 target->CastSpell(target, SPELL_RAM_CANTER, true);
71 break;
72 case 11: // red
74 target->CastSpell(target, SPELL_RAM_GALLOP, true);
75 break;
76 default:
77 break;
78 }
79
80 if (GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_DEFAULT)
81 {
83 target->CastSpell(target, SPELL_RAM_LEVEL_NEUTRAL, true);
84 }
85 }
86
87 void OnPeriodic(AuraEffect const* /*aurEff*/)
88 {
90 }
91
92 void Register() override
93 {
97 }
98};
99
100// 43310 - Ram Level - Neutral
101// 42992 - Ram - Trot
102// 42993 - Ram - Canter
103// 42994 - Ram - Gallop
105{
106 void OnPeriodic(AuraEffect const* aurEff)
107 {
108 Unit* target = GetTarget();
109 if (target->HasAura(SPELL_EXHAUSTED_RAM))
110 return;
111
112 switch (GetId())
113 {
115 if (Aura* aura = target->GetAura(SPELL_RAM_FATIGUE))
116 aura->ModStackAmount(-4);
117 break;
118 case SPELL_RAM_TROT: // green
119 if (Aura* aura = target->GetAura(SPELL_RAM_FATIGUE))
120 aura->ModStackAmount(-2);
121 if (aurEff->GetTickNumber() == 4)
123 break;
124 case SPELL_RAM_CANTER:
125 {
128 target->CastSpell(target, SPELL_RAM_FATIGUE, args);
129 if (aurEff->GetTickNumber() == 8)
131 break;
132 }
133 case SPELL_RAM_GALLOP:
134 {
136 args.AddSpellMod(SPELLVALUE_AURA_STACK, target->HasAura(SPELL_RAM_FATIGUE) ? 4 : 5 /*Hack*/);
137 target->CastSpell(target, SPELL_RAM_FATIGUE, args);
138 if (aurEff->GetTickNumber() == 8)
139 target->CastSpell(target, SPELL_BREWFEST_QUEST_SPEED_BUNNY_RED, true);
140 break;
141 }
142 default:
143 break;
144 }
145
146 }
147
148 void Register() override
149 {
151 }
152};
153
154// 43052 - Ram Fatigue
156{
157 void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
158 {
159 Unit* target = GetTarget();
160
161 if (GetStackAmount() == 101)
162 {
164 target->RemoveAura(SPELL_RAM_TROT);
167 target->RemoveAura(SPELL_GIDDYUP);
168
169 target->CastSpell(target, SPELL_EXHAUSTED_RAM, true);
170 }
171 }
172
173 void Register() override
174 {
176 }
177};
178
179// 43450 - Brewfest - apple trap - friendly DND
181{
182 void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
183 {
185 }
186
187 void Register() override
188 {
190 }
191};
192
193// 43332 - Exhausted Ram
195{
196 void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
197 {
198 Unit* target = GetTarget();
199 target->CastSpell(target, SPELL_RAM_LEVEL_NEUTRAL, true);
200 }
201
202 void Register() override
203 {
205 }
206};
207
208// 43714 - Brewfest - Relay Race - Intro - Force - Player to throw- DND
210{
212 {
213 PreventHitDefaultEffect(effIndex);
214 // All this spells trigger a spell that requires reagents; if the
215 // triggered spell is cast as "triggered", reagents are not consumed
217 }
218
219 void Register() override
220 {
222 }
223};
224
225// 43755 - Brewfest - Daily - Relay Race - Player - Increase Mount Duration - DND
227{
229 {
230 PreventHitDefaultEffect(effIndex);
231
232 if (Aura* aura = GetHitUnit()->GetAura(SPELL_SWIFT_WORK_RAM))
233 {
234 aura->SetDuration(aura->GetDuration() + 30 * IN_MILLISECONDS);
236 }
237 }
238
239 void Register() override
240 {
242 }
243};
244
245// 43876 - Dismount Ram
247{
248 void HandleScript(SpellEffIndex /*effIndex*/)
249 {
251 }
252
253 void Register() override
254 {
256 }
257};
258
260{
261 // Horde
264
265 // Alliance
268
269 // Bark for Drohn's Distillery!
274
275 // Bark for T'chali's Voodoo Brewery!
280
281 // Bark for the Barleybrews!
286
287 // Bark for the Thunderbrews!
291 SAY_THUNDERBREWS_4 = 22942
293
294// 43259 Brewfest - Barker Bunny 1
295// 43260 Brewfest - Barker Bunny 2
296// 43261 Brewfest - Barker Bunny 3
297// 43262 Brewfest - Barker Bunny 4
299{
300 bool Load() override
301 {
302 return GetUnitOwner()->GetTypeId() == TYPEID_PLAYER;
303 }
304
305 void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
306 {
307 Player* target = GetTarget()->ToPlayer();
308
309 uint32 BroadcastTextId = 0;
310
314
318
322
326
327 if (BroadcastTextId)
328 target->Talk(BroadcastTextId, CHAT_MSG_SAY, sWorld->getFloatConfig(CONFIG_LISTEN_RANGE_SAY), target);
329 }
330
331 void Register() override
332 {
334 }
335};
336
338{
345};
346
347// 49357 - Brewfest Mount Transformation
348// 52845 - Brewfest Mount Transformation (Faction Swap)
350{
351 bool Validate(SpellInfo const* /*spell*/) override
352 {
353 return ValidateSpellInfo(
354 {
359 });
360 }
361
362 void HandleDummy(SpellEffIndex /* effIndex */)
363 {
364 Player* caster = GetCaster()->ToPlayer();
365 if (caster->HasAuraType(SPELL_AURA_MOUNTED))
366 {
368 uint32 spell_id;
369
370 switch (GetSpellInfo()->Id)
371 {
373 if (caster->GetSpeedRate(MOVE_RUN) >= 2.0f)
374 spell_id = caster->GetTeam() == ALLIANCE ? SPELL_MOUNT_RAM_100 : SPELL_MOUNT_KODO_100;
375 else
376 spell_id = caster->GetTeam() == ALLIANCE ? SPELL_MOUNT_RAM_60 : SPELL_MOUNT_KODO_60;
377 break;
379 if (caster->GetSpeedRate(MOVE_RUN) >= 2.0f)
380 spell_id = caster->GetTeam() == HORDE ? SPELL_MOUNT_RAM_100 : SPELL_MOUNT_KODO_100;
381 else
382 spell_id = caster->GetTeam() == HORDE ? SPELL_MOUNT_RAM_60 : SPELL_MOUNT_KODO_60;
383 break;
384 default:
385 return;
386 }
387 caster->CastSpell(caster, spell_id, true);
388 }
389 }
390
391 void Register() override
392 {
394 }
395};
396
397/*
398 Brew of the Month
399 January [Wild Winter Pilsner]
400 spell_brewfest_botm_the_beast_within
401 February [Izzard's Ever Flavor]
402 spell_brewfest_botm_gassy
403 March [Aromatic Honey Brew]
404 Nothing to script here
405 April [Metok's Bubble Bock]
406 spell_brewfest_botm_bloated
407 Incomplete (spells 49828, 49827, 49830, 49837)
408 May [Springtime Stout]
409 Nothing to script here
410 June [Blackrock Lager]
411 spell_brewfest_botm_internal_combustion
412 July [Stranglethorn Brew]
413 spell_brewfest_botm_jungle_madness
414 August [Draenic Pale Ale]
415 NYI
416 September [Binary Brew]
417 spell_brewfest_botm_teach_language
418 October [Autumnal Acorn Ale]
419 NYI
420 November [Bartlett's Bitter Brew]
421 NYI
422 December [Lord of Frost's Private Label]
423 Nothing to script here
424*/
425
427{
430
431// 50098 - The Beast Within
433{
434 bool Validate(SpellInfo const* /*spellInfo*/) override
435 {
437 }
438
439 void AfterRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
440 {
442 }
443
444 void Register() override
445 {
447 }
448};
449
451{
454
455// 49864 - Gassy
457{
458 bool Validate(SpellInfo const* /*spellInfo*/) override
459 {
461 }
462
463 void AfterRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
464 {
466 }
467
468 void Register() override
469 {
471 }
472};
473
475{
478
479// 49822 - Bloated
481{
482 bool Validate(SpellInfo const* /*spellInfo*/) override
483 {
485 }
486
487 void AfterRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
488 {
490 }
491
492 void Register() override
493 {
495 }
496};
497
499{
502
503// 49738 - Internal Combustion
505{
506 bool Validate(SpellInfo const* /*spellInfo*/) override
507 {
509 }
510
511 void AfterRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
512 {
514 }
515
516 void Register() override
517 {
519 }
520};
521
523{
526
527// 49962 - Jungle Madness!
529{
530 bool Validate(SpellInfo const* /*spellInfo*/) override
531 {
533 }
534
536 {
538 }
539
540 void Register() override
541 {
543 }
544};
545
547{
551
552// 50243 - Teach Language
554{
555 bool Validate(SpellInfo const* /*spellInfo*/) override
556 {
558 }
559
560 void HandleDummy(SpellEffIndex /*effIndex*/)
561 {
562 if (Player* caster = GetCaster()->ToPlayer())
563 caster->CastSpell(caster, caster->GetTeam() == ALLIANCE ? SPELL_LEARN_GNOMISH_BINARY : SPELL_LEARN_GOBLIN_BINARY, true);
564 }
565
566 void Register() override
567 {
569 }
570};
571
573{
576
577// 42254, 42255, 42256, 42257, 42258, 42259, 42260, 42261, 42263, 42264, 43959, 43961 - Weak Alcohol
579{
580 bool Validate(SpellInfo const* /*spellInfo*/) override
581 {
583 }
584
586 {
588 }
589
590 void Register() override
591 {
593 }
594};
595
597{
598 SPELL_BOTM_EMPTY_BOTTLE_THROW_IMPACT_CREATURE = 51695, // Just unit, not creature
601
602// 51694 - BOTM - Empty Bottle Throw - Resolve
604{
605 bool Validate(SpellInfo const* /*spellInfo*/) override
606 {
607 return ValidateSpellInfo(
608 {
611 });
612 }
613
614 void HandleDummy(SpellEffIndex /*effIndex*/)
615 {
616 Unit* caster = GetCaster();
617
618 if (Unit* target = GetHitUnit())
620 else
622 }
623
624 void Register() override
625 {
627 }
628};
629
631{
650}
@ IN_MILLISECONDS
Definition: Common.h:35
First const & RAND(First const &first, Second const &second, Rest const &... rest)
uint32_t uint32
Definition: Define.h:142
@ TYPEID_PLAYER
Definition: ObjectGuid.h:41
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:145
@ QUEST_STATUS_COMPLETE
Definition: QuestDef.h:143
#define RegisterSpellScript(spell_script)
Definition: ScriptMgr.h:1369
SpellEffIndex
Definition: SharedDefines.h:29
@ EFFECT_1
Definition: SharedDefines.h:31
@ EFFECT_0
Definition: SharedDefines.h:30
@ SPELL_EFFECT_DUMMY
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_FORCE_CAST
@ ALLIANCE
@ HORDE
@ CHAT_MSG_SAY
AuraEffectHandleModes
@ AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK
@ AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK
@ AURA_EFFECT_HANDLE_REAL
@ AURA_REMOVE_BY_DEFAULT
@ SPELL_AURA_DUMMY
@ SPELL_AURA_MOUNTED
@ SPELL_AURA_MOD_DECREASE_SPEED
@ SPELL_AURA_PERIODIC_DUMMY
@ SPELL_AURA_FORCE_REACTION
@ TRIGGERED_FULL_MASK
Used when doing CastSpell with triggered == true.
Definition: SpellDefines.h:266
@ TRIGGERED_IGNORE_POWER_AND_REAGENT_COST
Will ignore power and reagent cost.
Definition: SpellDefines.h:249
@ SPELLVALUE_AURA_STACK
Definition: SpellDefines.h:231
#define SpellEffectFn(F, I, N)
Definition: SpellScript.h:842
#define AuraEffectPeriodicFn(F, I, N)
Definition: SpellScript.h:2046
#define SpellCastFn(F)
Definition: SpellScript.h:825
#define AuraEffectApplyFn(F, I, N, M)
Definition: SpellScript.h:2029
#define AuraEffectRemoveFn(F, I, N, M)
Definition: SpellScript.h:2040
@ MOVE_RUN
Definition: UnitDefines.h:118
void AddSC_event_brewfest()
Definition: brewfest.cpp:630
MetoksBubbleBock
Definition: brewfest.cpp:475
@ SPELL_BOTM_BUBBLE_BREW_TRIGGER_MISSILE
Definition: brewfest.cpp:476
EmptyBottleThrow
Definition: brewfest.cpp:597
@ SPELL_BOTM_EMPTY_BOTTLE_THROW_IMPACT_CREATURE
Definition: brewfest.cpp:598
@ SPELL_BOTM_EMPTY_BOTTLE_THROW_IMPACT_GROUND
Definition: brewfest.cpp:599
RamBlub
Definition: brewfest.cpp:260
@ SAY_THUNDERBREWS_3
Definition: brewfest.cpp:290
@ SAY_THUNDERBREWS_4
Definition: brewfest.cpp:291
@ SAY_BARLEYBREW_3
Definition: brewfest.cpp:284
@ SAY_TCHALIS_VOODOO_2
Definition: brewfest.cpp:277
@ QUEST_BARK_FOR_DROHNS_DISTILLERY
Definition: brewfest.cpp:262
@ SAY_BARLEYBREW_1
Definition: brewfest.cpp:282
@ SAY_TCHALIS_VOODOO_1
Definition: brewfest.cpp:276
@ SAY_TCHALIS_VOODOO_4
Definition: brewfest.cpp:279
@ SAY_BARLEYBREW_4
Definition: brewfest.cpp:285
@ SAY_DROHN_DISTILLERY_3
Definition: brewfest.cpp:272
@ QUEST_BARK_BARLEYBREW
Definition: brewfest.cpp:266
@ SAY_DROHN_DISTILLERY_4
Definition: brewfest.cpp:273
@ SAY_BARLEYBREW_2
Definition: brewfest.cpp:283
@ SAY_DROHN_DISTILLERY_1
Definition: brewfest.cpp:270
@ QUEST_BARK_FOR_THUNDERBREWS
Definition: brewfest.cpp:267
@ SAY_THUNDERBREWS_1
Definition: brewfest.cpp:288
@ QUEST_BARK_FOR_TCHALIS_VOODOO_BREWERY
Definition: brewfest.cpp:263
@ SAY_DROHN_DISTILLERY_2
Definition: brewfest.cpp:271
@ SAY_THUNDERBREWS_2
Definition: brewfest.cpp:289
@ SAY_TCHALIS_VOODOO_3
Definition: brewfest.cpp:278
WildWinterPilsner
Definition: brewfest.cpp:427
@ SPELL_BOTM_UNLEASH_THE_BEAST
Definition: brewfest.cpp:428
IzzardsEverFlavor
Definition: brewfest.cpp:451
@ SPELL_BOTM_BELCH_BREW_BELCH_VISUAL
Definition: brewfest.cpp:452
StranglethornBrew
Definition: brewfest.cpp:523
@ SPELL_BOTM_JUNGLE_BREW_VISION_EFFECT
Definition: brewfest.cpp:524
BlackrockLager
Definition: brewfest.cpp:499
@ SPELL_BOTM_BELCH_FIRE_VISUAL
Definition: brewfest.cpp:500
CreateEmptyBrewBottle
Definition: brewfest.cpp:573
@ SPELL_BOTM_CREATE_EMPTY_BREW_BOTTLE
Definition: brewfest.cpp:574
RamBlaBla
Definition: brewfest.cpp:26
@ SPELL_RAM_TROT
Definition: brewfest.cpp:32
@ SPELL_BREWFEST_QUEST_SPEED_BUNNY_GREEN
Definition: brewfest.cpp:40
@ SPELL_SWIFT_WORK_RAM
Definition: brewfest.cpp:29
@ SPELL_EXHAUSTED_RAM
Definition: brewfest.cpp:36
@ SPELL_BREWFEST_QUEST_SPEED_BUNNY_YELLOW
Definition: brewfest.cpp:41
@ SPELL_RENTAL_RACING_RAM
Definition: brewfest.cpp:28
@ SPELL_RELAY_RACE_TURN_IN
Definition: brewfest.cpp:37
@ SPELL_GIDDYUP
Definition: brewfest.cpp:27
@ SPELL_RAM_CANTER
Definition: brewfest.cpp:33
@ SPELL_RENTAL_RACING_RAM_AURA
Definition: brewfest.cpp:30
@ SPELL_RAM_LEVEL_NEUTRAL
Definition: brewfest.cpp:31
@ SPELL_RAM_FATIGUE
Definition: brewfest.cpp:35
@ SPELL_BREWFEST_QUEST_SPEED_BUNNY_RED
Definition: brewfest.cpp:42
@ SPELL_RAM_GALLOP
Definition: brewfest.cpp:34
BrewfestMountTransformation
Definition: brewfest.cpp:338
@ SPELL_BREWFEST_MOUNT_TRANSFORM_REVERSE
Definition: brewfest.cpp:344
@ SPELL_MOUNT_RAM_60
Definition: brewfest.cpp:340
@ SPELL_BREWFEST_MOUNT_TRANSFORM
Definition: brewfest.cpp:343
@ SPELL_MOUNT_RAM_100
Definition: brewfest.cpp:339
@ SPELL_MOUNT_KODO_100
Definition: brewfest.cpp:341
@ SPELL_MOUNT_KODO_60
Definition: brewfest.cpp:342
BinaryBrew
Definition: brewfest.cpp:547
@ SPELL_LEARN_GOBLIN_BINARY
Definition: brewfest.cpp:549
@ SPELL_LEARN_GNOMISH_BINARY
Definition: brewfest.cpp:548
uint32 GetTickNumber() const
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
Definition: SpellScript.h:2039
HookList< EffectPeriodicHandler > OnEffectPeriodic
Definition: SpellScript.h:2045
HookList< EffectApplyHandler > AfterEffectApply
Definition: SpellScript.h:2028
Unit * GetTarget() const
HookList< EffectApplyHandler > OnEffectRemove
Definition: SpellScript.h:2035
Unit * GetUnitOwner() const
uint8 GetStackAmount() const
HookList< EffectApplyHandler > OnEffectApply
Definition: SpellScript.h:2024
uint32 GetId() const
TypeID GetTypeId() const
Definition: Object.h:173
static Player * ToPlayer(Object *o)
Definition: Object.h:213
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: Player.cpp:16050
Team GetTeam() const
Definition: Player.h:2235
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Definition: SpellScript.h:162
HookList< CastHandler > AfterCast
Definition: SpellScript.h:824
WorldLocation * GetHitDest() const
Unit * GetCaster() const
HookList< EffectHandler > OnEffectHit
Definition: SpellScript.h:839
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Unit * GetHitUnit() const
SpellEffectInfo const & GetEffectInfo() const
HookList< EffectHandler > OnEffectHitTarget
Definition: SpellScript.h:840
SpellInfo const * GetSpellInfo() const
Definition: Unit.h:627
void RemoveAurasByType(AuraType auraType, std::function< bool(AuraApplication const *)> const &check, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3812
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3685
Aura * GetAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
Definition: Unit.cpp:4560
bool HasAuraType(AuraType auraType) const
Definition: Unit.cpp:4674
void RemoveAuraFromStack(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT, uint16 num=1)
Definition: Unit.cpp:3847
float GetSpeedRate(UnitMoveType mtype) const
Definition: Unit.h:1644
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
Definition: Unit.cpp:4664
virtual void Talk(std::string_view text, ChatMsg msgType, Language language, float textRange, WorldObject const *target)
Definition: Unit.cpp:13554
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Definition: Object.cpp:2896
void Register() override
Definition: brewfest.cpp:187
void OnApply(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:182
void OnApply(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:305
void Register() override
Definition: brewfest.cpp:331
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:482
void Register() override
Definition: brewfest.cpp:492
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:487
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:605
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:458
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:463
void Register() override
Definition: brewfest.cpp:468
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:506
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:511
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:530
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:555
void HandleDummy(SpellEffIndex)
Definition: brewfest.cpp:560
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:439
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:434
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:580
void Register() override
Definition: brewfest.cpp:253
void HandleScript(SpellEffIndex)
Definition: brewfest.cpp:248
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:196
void Register() override
Definition: brewfest.cpp:202
void OnPeriodic(AuraEffect const *)
Definition: brewfest.cpp:87
void OnChange(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:48
void Register() override
Definition: brewfest.cpp:92
bool Validate(SpellInfo const *) override
Definition: brewfest.cpp:351
void HandleDummy(SpellEffIndex)
Definition: brewfest.cpp:362
void Register() override
Definition: brewfest.cpp:173
void OnApply(AuraEffect const *, AuraEffectHandleModes)
Definition: brewfest.cpp:157
void OnPeriodic(AuraEffect const *aurEff)
Definition: brewfest.cpp:106
void Register() override
Definition: brewfest.cpp:148
void HandleDummy(SpellEffIndex effIndex)
Definition: brewfest.cpp:228
#define sWorld
Definition: World.h:931
@ CONFIG_LISTEN_RANGE_SAY
Definition: World.h:209
CastSpellExtraArgs & AddSpellMod(SpellValueMod mod, int32 val)
Definition: SpellDefines.h:474