123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using CommonAI.Zone;
- using CommonAI.Zone.Helper;
- using CommonAI.Zone.Instance;
- using XmdsCommon.Plugin;
- using XmdsCommonServer.Plugin;
- using XmdsCommonServer.XLS.Data;
- using XmdsCommonSkill.Plugin.Buffs;
- using static CommonAI.Zone.Instance.InstanceUnit;
- namespace XmdsCommonSkill.Plugin.Skills.Remedy
- {
- /// <summary>
- /// 治疗普攻:
- /// </summary>
- public class PetSkill_930020 : XmdsSkillBase
- {
- private static readonly int ID = 930020;
- /// 伤害倍数.
- public static XmdsSkillValue DP_1;
- public override int SkillID {get{return ID;}}
- protected override void OnSkillDamagePerEvent(BattleParams param)
- {
- param.SkillDamagePer = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
- //param.Attacker.mUnit.queueEvent(new UnitTriggerAblity(param.Attacker.mUnit.ID, 8000));
- }
- protected override void OnSkillLogicEvent(BattleParams param)
- {
- }
- protected override void OnInitSkillParam()
- {
- XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
- InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.ValueSet);
- }
- }
- }
|