XmdsBuff_Stun.cs 770 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using XmdsCommonServer.Plugin.XmdsSkillTemplate.Skills;
  6. namespace XmdsCommonSkill.Plugin.Buffs
  7. {
  8. /// <summary>
  9. /// FileName: XmdsBuff_Stun.cs
  10. /// Author: Alex.Yu
  11. /// Corporation:...
  12. /// Description: 晕眩buff.
  13. /// DateTime: 2015/6/8 20:58:30
  14. /// </summary>
  15. public class XmdsBuff_Stun : XmdsBuffBase
  16. {
  17. public override int GetAbilityID()
  18. {
  19. return (int)XmdsCommon.Plugin.XmdsBuffProperties.XmdsBuffAbility.STUN;
  20. }
  21. protected override void OnBindTemplate(ref CommonAI.Zone.BuffTemplate buffTemplate)
  22. {
  23. //设置为晕眩.
  24. buffTemplate.MakeStun = true;
  25. }
  26. }
  27. }