Core/Instance: implement the combat resurrection limit.
Cherry Pick from https://github.com/TrinityCore/TrinityCore/commit/948146f3ee890b85af50944176877c7d44c0c120 I change this a bit, so that this is works right for 4.3.3 Patch. (Here isn't add charges after a specific time. Groups have from begin 1 or 3 Charges for Resurrection.)
This commit is contained in:
1 parent
0ee051e6af
commit
d4c703a2e2
5 files changed
+126
-11
No files matched your search
@@ -3150,8 +3150,11 @@ void InstanceMap::Update(const uint32 t_diff)
|
||||
{
|
||||
Map::Update(t_diff);
|
||||
|
||||
if (i_data)
|
||||
i_data->Update(t_diff);
|
||||
if (i_data)
|
||||
{
|
||||
i_data->Update(t_diff);
|
||||
i_data->UpdateCombatResurrection(t_diff);
|
||||
}
|
||||
}
|
||||
|
||||
void InstanceMap::RemovePlayerFromMap(Player* player, bool remove)
|
||||
|
||||
Reference in new issue
Block a user