mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[11614] Totem/Relic/Sigil etc swapping should tirgger GCD
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
17bf4f884f
commit
c11a2b68b7
2 changed files with 3 additions and 2 deletions
|
|
@ -11217,7 +11217,8 @@ Item* Player::EquipItem( uint16 pos, Item *pItem, bool update )
|
||||||
|
|
||||||
_ApplyItemMods(pItem, slot, true);
|
_ApplyItemMods(pItem, slot, true);
|
||||||
|
|
||||||
if(pProto && isInCombat()&& pProto->Class == ITEM_CLASS_WEAPON && m_weaponChangeTimer == 0)
|
// Weapons and also Totem/Relic/Sigil/etc
|
||||||
|
if (pProto && isInCombat() && (pProto->Class == ITEM_CLASS_WEAPON || pProto->InventoryType == INVTYPE_RELIC) && m_weaponChangeTimer == 0)
|
||||||
{
|
{
|
||||||
uint32 cooldownSpell = SPELL_ID_WEAPON_SWITCH_COOLDOWN_1_5s;
|
uint32 cooldownSpell = SPELL_ID_WEAPON_SWITCH_COOLDOWN_1_5s;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11613"
|
#define REVISION_NR "11614"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue