瀏覽代碼

【BUG】MMO-20150: buff结束监听没有区分那个buff,导致残卷有加球bug

meijun 3 年之前
父節點
當前提交
5067770882
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      XmdsVSPlugins/XmdsCommonSkill/Plugin/Skills/CardSkill/14_XuanWu/CardSkill_1430000.cs

+ 1 - 1
XmdsVSPlugins/XmdsCommonSkill/Plugin/Skills/CardSkill/14_XuanWu/CardSkill_1430000.cs

@@ -63,7 +63,7 @@ namespace XmdsCommonSkill.Plugin.CardSkill
 
 		private void OnRemoveBuffEvent(XmdsVirtual unit, BuffState buff, string result, GameSkill sk)
 		{
-			if(!string.IsNullOrEmpty(result) && !BuffState.ENDResult_HuDunBreak.Equals(result))
+			if(buff != null && buff.ID == CARD_XW_IGNORECTRL_HUDUN && !string.IsNullOrEmpty(result) && !BuffState.ENDResult_HuDunBreak.Equals(result))
 			{
 				for(int i = 0; i < this.mTriggerSameNums - 1; i++)
 				{