魔兽世界私服| 新开魔兽私服文章 | 历史已开私服 | 私服家族联盟 | 私服游戏攻略 | 魔兽相关下载 | 最新版本研究 | 家族发布 | 魔兽经验交流 | 各大魔兽家族排行榜
  当前位置:返回首页>>返回私服文章首页>>技术文章内容
[最新版本研究]解决卡怪
魔兽私服网   发布时间:2008-4-30 16:30:34
[FIX] - fix creature go and back loop if it has spell

--------------------------------------------------------------------------------

bug description1:
if a creature has spell and this spell doesn't need casttime,it may be go to target and backward again and again

bug description1:
if you are warlock,you have called Voidwalker,you open auto cast spell at pet control panel,and then you select a target,click attack at pet control panel,the Voidwalker will go and back(loop)

Code:
Index: game/AIInterface.cpp
===================================================================
--- game/AIInterface.cpp        (revision 670)
+++ game/AIInterface.cpp        (working copy)
@@ -901,6 +901,7 @@
                                        return;  // this shouldnt happen

                                /* stop moving so we don't interrupt the spell */
+                                if(m_nextSpell->spell->CastingTimeIndex != 1)
                                StopMovement(0);

                                float distance = m_Unit->GetDistanceSq(m_nextTarget);
上一篇魔兽私服文章:上一篇: 飞行坐骑~
下一篇魔兽私服文章:下一篇: 修复恐惧和变形术

Copyright 2008-2009 www.haoztw.Com All Rights Reserved(注:本站只投放九城官方授权魔兽世界私服)
品牌商标、文字、形象及内容归魔兽世界私服版权所有 任何组织或个人未经同意,不得使用和传播 网站备案登记号:渝ICP备02394311号
拒绝盗版魔兽世界私服游戏 注意自我保护 谨防受骗上当 适度游戏益脑 沉迷游戏伤身 合理安排时间 享受健康生活
*注释:本站所有魔兽私服游戏信息,均来自互联网,与本站无关。请玩家仔细辨认魔兽私服游戏信息的真实性,避免上当受骗!