[7368] Implement unequip unexpected offhand weapons at talent reset (mostly for warror talent case). Author: Lightguard

Implemented OffhandCheckAtTalentsReset option for unequip at zone change (default)
    and at talent reset itself (can be enabled).

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-02 17:04:46 -06:00
parent 66809d5dc1
commit 8998eba728
5 changed files with 32 additions and 4 deletions

View File

@@ -951,6 +951,8 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_ARENA_SEASON_ID] = sConfig.GetIntDefault ("Arena.ArenaSeason.ID", 1);
m_configs[CONFIG_ARENA_SEASON_IN_PROGRESS] = sConfig.GetBoolDefault("Arena.ArenaSeason.InProgress", true);
m_configs[CONFIG_OFFHAND_CHECK_AT_TALENTS_RESET] = sConfig.GetBoolDefault("OffhandCheckAtTalentsReset", false);
m_configs[CONFIG_INSTANT_LOGOUT] = sConfig.GetIntDefault("InstantLogout", SEC_MODERATOR);
m_VisibleUnitGreyDistance = sConfig.GetFloatDefault("Visibility.Distance.Grey.Unit", 1);