diff --git a/src/game/Player.cpp b/src/game/Player.cppindex 0a3dd56..5177be4 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -19377,6 +19377,8 @@ void Player::AddSpellAndCategoryCooldowns(SpellEntry const* spellInfo, uint32 it
cat = spellInfo->Category;
rec = spellInfo->RecoveryTime;
catrec = spellInfo->CategoryRecoveryTime;
+ if (catrec == 0)//防止WPE外挂,增加技能冷却时间.
+ catrec += sConfig.GetIntDefault("Spell.Recovery.Time", 0);
}
time_t curTime = time(NULL);
|