1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- using CommonAI.Zone;
- using CommonAI.Zone.Helper;
- using CommonAI.Zone.Instance;
- using System.Diagnostics;
- using XmdsCommon.Plugin;
- using XmdsCommonServer.Plugin;
- using XmdsCommonServer.Plugin.XmdsSkillTemplate.Skills;
- using XmdsCommonServer.XLS.Data;
- using XmdsCommonSkill.Plugin.Buffs;
- namespace XmdsCommonSkill.Plugin.Skills.Remedy
- {
- /// <summary>
- /// 治疗, 五技能 5-5(普攻伤害提高)
- /// </summary>
- public class Remedy_510550 : Remedy_510540
- {
- public static readonly int ID = 510550;
- public override int SkillID { get { return ID; } }
- //伤害倍数.
- public XmdsSkillValue valueSet3;
- // 数值
- public int normalAtkDmgAddition;
- protected override void OnInitOver(XmdsVirtual unit, GameSkill info)
- {
- this.normalAtkDmgAddition = valueSet3.GetValue(info.TalentSkillLevel2);
- unit.ReInitOverBaseSkill(info);
- }
- protected override void OnSkillDataChange(GameSkill gs, XmdsVirtual unit)
- {
- base.OnSkillDataChange(gs, unit);
- this.normalAtkDmgAddition = valueSet3.GetValue(gs.TalentSkillLevel2);
- }
- public override int GetSkillValue(AbstractSkillType type)
- {
- return this.normalAtkDmgAddition;
- }
- protected override void OnInitConfig()
- {
- XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
- base.InitBaseConfig(data);
- InitData(data, out valueSet, XmdsSkillData.XmdsSkillDataKey.ValueSet);
- InitData(data, out valueSet2, XmdsSkillData.XmdsSkillDataKey.ValueSet2);
- InitData(data, out valueSet3, XmdsSkillData.XmdsSkillDataKey.ValueSet3);
- // 扩展配置
- InitData(data, out valueSet5, XmdsSkillData.XmdsSkillDataKey.ValueSet5);
- InitData(data, out valueSet7, XmdsSkillData.XmdsSkillDataKey.ValueSet7);
- }
- }
- }
|