当前位置:首页>>魔兽单机>>正文
魔兽单机端防止WPE外挂,增加技能冷却时间.
2013-07-05 17:45:08 作者:网络 来源: 浏览次数:0
摘要:防止WPE外挂,增加技能冷却时间.
 diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 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);
 


相关报道:

[关闭] [返回顶部]


  返回首页 | 最新资讯 | 资源下载 | 魔兽图片 | 单机文档 | 技术攻略 | 玩家视频
备案号:蜀ICP备2024062380号-1
免责声明:本网站为热爱怀旧WOW的玩家们建立的魔兽世界资料网站,仅供交流和学习使用,非盈利和商用.如有侵权之处,请联系我们,我们会在24小时内确认删除侵权内容,谢谢合作。
Copyright © 2024 - 2024 WOWAII.COM Corporation, All Rights Reserved

机器人国度