Core/Spells: fixed some tabbing of old code remains from old battle resurrection implementation and use the resurrecting player as map reference target instead of the player
This commit is contained in:
1 parent
9ad9d7c518
commit
cca989638d
3 files changed
+13
-10
No files matched your search
@@ -838,11 +838,11 @@ void InstanceScript::UpdatePhasing()
|
||||
void InstanceScript::InitializeCombatResurrections()
|
||||
{
|
||||
if (instance->IsRaid())
|
||||
_combatResurrectionCharges = instance->Is25ManRaid() ? 3 : 1;
|
||||
_combatResurrectionCharges = instance->Is25ManRaid() ? 3 : 1;
|
||||
}
|
||||
|
||||
void InstanceScript::UseCombatResurrection()
|
||||
{
|
||||
_combatResurrectionCharges--;
|
||||
_combatResurrectionCharges--;
|
||||
SendEncounterUnit(ENCOUNTER_FRAME_ADD_COMBAT_RES_LIMIT);
|
||||
}
|
||||
Reference in new issue
Block a user