Monster_10500402.cs 968 B

1234567891011121314151617181920212223242526272829303132
  1. 
  2. using XmdsCommonServer.XLS.Data;
  3. using XmdsCommonServer.Plugin;
  4. namespace XmdsCommonSkill.Plugin.Skills.Monster
  5. {
  6. /// <summary>
  7. /// 范克瑞斯 - 龙卷风: 挥动翅膀释放龙卷风,对碰到的敌人造成x%倍物攻伤害和额外y点物理伤害.
  8. /// </summary>
  9. public class Monster_10500402 : XmdsSkillBase
  10. {
  11. public static int ID = 10500402;
  12. /// 伤害倍数.
  13. public static XmdsSkillValue DP_1;
  14. public override int SkillID { get { return ID; } }
  15. protected override void OnSkillDamagePerEvent(BattleParams param)
  16. {
  17. int ret = CalDamagePer(DP_1, param.GameSkill.SkillLevel);
  18. param.SkillDamagePer = ret;
  19. }
  20. protected override void OnInitSkillParam()
  21. {
  22. XmdsSkillData data = XmdsDataMgr.GetInstance().GetXmdsSkillData(ID);
  23. InitData(data, out DP_1, XmdsSkillData.XmdsSkillDataKey.DmgRate);
  24. }
  25. }
  26. }