mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[10526] Implement server side global cooldown check.
Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also pet/controlled unit global cooldown code replaced by new placed in charmInfo structure. Thanks to nos4r2zod for testing and gcd range check implement.
This commit is contained in:
parent
cb03e5a376
commit
3a8ad26a5e
12 changed files with 142 additions and 26 deletions
|
|
@ -18985,7 +18985,7 @@ void Player::UpdatePotionCooldown(Spell* spell)
|
|||
m_lastPotionId = 0;
|
||||
}
|
||||
|
||||
//slot to be excluded while counting
|
||||
//slot to be excluded while counting
|
||||
bool Player::EnchantmentFitsRequirements(uint32 enchantmentcondition, int8 slot)
|
||||
{
|
||||
if(!enchantmentcondition)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue