12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using CommonAI.Zone.Helper;
- using CommonAI.Zone.Instance;
- using XmdsCommonServer.Plugin;
- using XmdsCommonServer.XLS.Data;
- using XmdsCommonSkill.Plugin.Buffs;
- using System;
- using static CommonAI.Zone.Instance.InstanceUnit;
- using XmdsCommon.Plugin;
- using CommonAI.Zone;
- using XmdsCommonServer.Plugin.Units;
- using CommonAI.Zone.Formula;
- using XmdsCommonSkill.Plugin.Skills;
- using XmdsCommonServer.Plugin.XmdsSkillTemplate.DamageCalculator;
- using XmdsCommonSkill.Plugin.Interface;
- using static XmdsCommonSkill.Plugin.Interface.ComSpellTemplate;
- using CommonAI.Data;
- namespace XmdsCommonSkill.Plugin.PassiveSkills.Remedy
- {
- /// <summary>
- /// boss通用被动 - 攻击速度提升<$1>
- /// </summary>
- class Boss_90106 : XmdsPassiveSkillBase
- {
- public static readonly int ID = 90106;
- private static XmdsSkillValue mAttackSpeed; // 攻速提升值
- public override int SkillID {get{return ID;}}
- protected override void OnInit(GameSkill skillInfo, XmdsVirtual owner)
- {
- owner.ChangeAtkSpeed(mAttackSpeed.GetValue());
- }
- protected override void OnInitSkillParam()
- {
- XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
- InitData(data, out mAttackSpeed, XmdsSkillData.XmdsSkillDataKey.DmgRate);
- }
- protected override void OnDispose(XmdsVirtual owner)
- {
- }
- }
- }
|