1234567891011121314151617181920212223242526272829 |
-
- using XmdsCommonServer.XLS.Data;
- using XmdsCommonServer.Plugin;
- namespace XmdsCommonSkill.Plugin.Skills.Monster
- {
- /// <summary>
- /// 黄沙巨人 - 锤击: 攻击一个敌人,造成x%物攻伤害和y点额外物理伤害.
- /// </summary>
- public class Monster_20044001 : XmdsSkillBase
- {
- public static int ID = 20044001;
-
- public static XmdsSkillValue DP_1;
- public override int SkillID { get { return ID; } }
- protected override void OnSkillDamagePerEvent(BattleParams param)
- {
- int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
- param.SkillDamagePer = ret;
- }
-
- protected override void OnInitSkillParam()
- {
- XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
- InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate);
- }
- }
- }
|