[11614] Totem/Relic/Sigil etc swapping should tirgger GCD

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Feanordev 2011-06-06 14:58:59 +04:00 committed by VladimirMangos
parent 17bf4f884f
commit c11a2b68b7
2 changed files with 3 additions and 2 deletions

View file

@ -11217,7 +11217,8 @@ Item* Player::EquipItem( uint16 pos, Item *pItem, bool update )
_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;