87 {
90 {
94
96 {
99 {
100
103 break;
106 break;
109 break;
112 break;
113 default:
114 break;
115 }
116
117 if (spell)
118 {
119 creature->
CastSpell(player, spell,
true);
121 }
122 }
123
125 {
128 {
131 break;
134 break;
137 break;
140 break;
141 default:
142 break;
143 }
144
145 if (spell)
146 {
147 creature->
CastSpell(player, spell,
true);
149 }
150 }
153 }
154 return true;
155 }
std::uint32_t uint32
Definition: Define.h:108
void ClearGossipMenuFor(Player *player)
Definition: ScriptedGossip.cpp:22
void CloseGossipMenuFor(Player *player)
Definition: ScriptedGossip.cpp:56
@ SPELL_BLESS_ASH_HON
Definition: zone_zangarmarsh.cpp:57
@ GOSSIP_REWARD_BLESS
Definition: zone_zangarmarsh.cpp:50
@ SPELL_BLESS_KEL_HON
Definition: zone_zangarmarsh.cpp:62
@ SPELL_BLESS_KEL_REV
Definition: zone_zangarmarsh.cpp:61
@ SPELL_BLESS_KEL_FRI
Definition: zone_zangarmarsh.cpp:63
@ SPELL_BLESS_ASH_FRI
Definition: zone_zangarmarsh.cpp:58
@ SPELL_BLESS_KEL_EXA
Definition: zone_zangarmarsh.cpp:60
@ SPELL_BLESS_ASH_EXA
Definition: zone_zangarmarsh.cpp:55
@ SPELL_BLESS_ASH_REV
Definition: zone_zangarmarsh.cpp:56
@ POWER_MANA
Definition: SharedDefines.h:241
@ REP_EXALTED
Definition: SharedDefines.h:159
@ REP_HONORED
Definition: SharedDefines.h:157
@ REP_REVERED
Definition: SharedDefines.h:158
@ REP_FRIENDLY
Definition: SharedDefines.h:156
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
Definition: CreatureAI.cpp:50
CreatureAI * AI() const
Definition: Creature.h:135
void TalkedToCreature(uint32 entry, ObjectGuid guid)
Definition: PlayerQuest.cpp:2096
void SetPower(Powers power, uint32 val, bool withPowerUpdate=true, bool fromRegenerate=false)
Definition: Unit.cpp:15458
void SetMaxPower(Powers power, uint32 val)
Definition: Unit.cpp:15523
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1169
void setPowerType(Powers power)
Definition: Unit.cpp:9952