123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //using CommonAI.Zone;
- //using System;
- //using System.Collections.Generic;
- //using System.Linq;
- //using System.Text;
- //using XmdsCommon.Plugin;
- //using XmdsCommonServer.Plugin;
- //using XmdsCommonSkill.Plugin.Buffs;
- ///** 2021.7.14sx删除很多旧资源,导致报错,先屏蔽掉 */
- //namespace XmdsCommonSkill.Plugin.FunctionEvent
- //{
- // class XmdsBattleFunctionEvent_20000 : XmdsBattleFunctionEventBase
- // {
- // public static int EventID = 20000;
- // protected override bool OnInit()
- // {
- // base.SetBindBuffID(510023);
- // bool ret = XmdsBuffFactory.GetInstance().XmdsBuffPackTest(base.mBuff_ID, XmdsBuffProperties.XmdsBuffAbility.PropChange);
- // return ret;
- // // return true;
- // }
- // public override int GetEventID()
- // {
- // return EventID;
- // }
- // protected override void OnTriggerEvent(XmdsVirtual target, XmdsVirtual sender)
- // {
- // XmdsBuffPack pack = XmdsBuffFactory.GetInstance().GetXmdsBuffPack(base.mBuff_ID);
- // var bufflist = pack.GetXmdsBuffList();
- // var propChange = (XmdsBuff_PropChange)bufflist[0];
- // propChange.CurentChangeType = XmdsVirtual.UnitAttributeType.Attack;
- // propChange.IsPercent = true;
- // propChange.CurrentValue = 20000;
- // //target.mUnit.addBuff(Buff_1,null);
- // BuffTemplate bt = pack.mBuffTemplate;
- // bt.IsHarmful = false;
- // //buff时间使用模版配置
- // //bt.LifeTimeMS = buffTime;
- // //bt.FirstTimeEnable = false;
- // //(bt.Properties as XmdsBuffProperties).Dispelled = false;
- // pack.BindTemplateAndDispose();
- // target.mUnit.AddBuff(bt, sender.mUnit);
- // }
- // }
- //}
|