mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 19:53:02 -04:00
Core/Game: Include cleanup, part 4 - packets and largest headers (after preprocessing, except player/objectmgr)
This commit is contained in:
@@ -649,9 +649,9 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
|
||||
bool _allowMove = false;
|
||||
SpellInfo const* spellInfo = sSpellMgr->AssertSpellInfo(e.action.cast.spell);
|
||||
std::vector<SpellInfo::CostData> costs = spellInfo->CalcPowerCost(me, spellInfo->GetSchoolMask());
|
||||
std::vector<SpellPowerCost> costs = spellInfo->CalcPowerCost(me, spellInfo->GetSchoolMask());
|
||||
bool hasPower = true;
|
||||
for (SpellInfo::CostData const& cost : costs)
|
||||
for (SpellPowerCost const& cost : costs)
|
||||
{
|
||||
if (cost.Power == POWER_HEALTH)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user