mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[12721] Fixed comment
* reverted little change for last commit (forgot to save before commiting)
This commit is contained in:
parent
69cb04b8a8
commit
88e0b63682
3 changed files with 3 additions and 3 deletions
|
|
@ -117,7 +117,7 @@ enum EventAI_ActionType
|
||||||
ACTION_T_CHANCED_TEXT = 44, // Chance to display the text, TextId1, optionally TextId2. If more than just -TextId1 is defined, randomize. Negative values.
|
ACTION_T_CHANCED_TEXT = 44, // Chance to display the text, TextId1, optionally TextId2. If more than just -TextId1 is defined, randomize. Negative values.
|
||||||
ACTION_T_THROW_AI_EVENT = 45, // EventType, Radius, unused
|
ACTION_T_THROW_AI_EVENT = 45, // EventType, Radius, unused
|
||||||
ACTION_T_SET_THROW_MASK = 46, // EventTypeMask, unused, unused
|
ACTION_T_SET_THROW_MASK = 46, // EventTypeMask, unused, unused
|
||||||
ACTION_T_EMOTE_TARGET = 47, // Emote, EmoteTarget, EntryOrGuid
|
ACTION_T_EMOTE_TARGET = 47, // EmoteId, TargetGuid
|
||||||
ACTION_T_END,
|
ACTION_T_END,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8429,7 +8429,7 @@ void Aura::PeriodicDummyTick()
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Search SPELL_AURA_MOD_POWER_REGEN aura for this spell and add bonus
|
// Search SPELL_AURA_MOD_POWER_REGEN aura for this spell and add bonus
|
||||||
if (Aura* aura = GetHolder()->GetAuraByEffectIndex(SpellEffectIndex(GetEffIndex(EFFECT_INDEX_0))))
|
if (Aura* aura = GetHolder()->GetAuraByEffectIndex(SpellEffectIndex(GetEffIndex()-1)))
|
||||||
{
|
{
|
||||||
aura->GetModifier()->m_amount = m_modifier.m_amount;
|
aura->GetModifier()->m_amount = m_modifier.m_amount;
|
||||||
((Player*)target)->UpdateManaRegen();
|
((Player*)target)->UpdateManaRegen();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12720"
|
#define REVISION_NR "12721"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue