mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
Fixed compile errors
This commit is contained in:
parent
1c28b1ad50
commit
e556b67ddc
3 changed files with 3 additions and 2 deletions
|
|
@ -3235,7 +3235,7 @@ void Spell::TakeRunePower()
|
||||||
// you can gain some runic power when use runes
|
// you can gain some runic power when use runes
|
||||||
float rp = src->runePowerGain;;
|
float rp = src->runePowerGain;;
|
||||||
rp *= sWorld.getRate(RATE_POWER_RUNICPOWER_INCOME);
|
rp *= sWorld.getRate(RATE_POWER_RUNICPOWER_INCOME);
|
||||||
plr->ModifyPower(POWER_RUNIC_POWER, (int32)rp)
|
plr->ModifyPower(POWER_RUNIC_POWER, (int32)rp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spell::TakeReagents()
|
void Spell::TakeReagents()
|
||||||
|
|
|
||||||
|
|
@ -302,6 +302,7 @@ class Spell
|
||||||
void EffectTriggerRitualOfSummoning(uint32 i);
|
void EffectTriggerRitualOfSummoning(uint32 i);
|
||||||
void EffectKillCredit(uint32 i);
|
void EffectKillCredit(uint32 i);
|
||||||
void EffectQuestFail(uint32 i);
|
void EffectQuestFail(uint32 i);
|
||||||
|
void EffectActivateRune(uint32 i);
|
||||||
|
|
||||||
Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 originalCasterGUID = 0, Spell** triggeringContainer = NULL );
|
Spell( Unit* Caster, SpellEntry const *info, bool triggered, uint64 originalCasterGUID = 0, Spell** triggeringContainer = NULL );
|
||||||
~Spell();
|
~Spell();
|
||||||
|
|
|
||||||
|
|
@ -6297,7 +6297,7 @@ void Spell::EffectActivateRune(uint32 i)
|
||||||
{
|
{
|
||||||
if(plr->GetRuneCooldown(j) && plr->GetCurrentRune(j) == m_spellInfo->EffectMiscValue[i])
|
if(plr->GetRuneCooldown(j) && plr->GetCurrentRune(j) == m_spellInfo->EffectMiscValue[i])
|
||||||
{
|
{
|
||||||
plr->SetRuneCooldown(j, 0));
|
plr->SetRuneCooldown(j, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue