BulletBombCookie.cs 804 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. namespace YLBattle
  4. {
  5. /// <summary>
  6. /// 子弹爆炸目标基础属性设定
  7. /// </summary>
  8. public class BulletBombCookie
  9. {
  10. /// <summary>
  11. /// 子弹目标唯一编号
  12. /// </summary>
  13. public string target = string.Empty;
  14. /// <summary>
  15. /// 伤害类型
  16. /// </summary>
  17. public EBulletDamageType type = EBulletDamageType.EBULLET_DAMAGE_NONE;
  18. /// <summary>
  19. /// 最终伤害数值
  20. /// </summary>
  21. public float damage = 0;
  22. /// <summary>
  23. /// 是否暴击
  24. /// </summary>
  25. public bool isCrit = false;
  26. /// <summary>
  27. /// 是否必杀
  28. /// </summary>
  29. public bool isKill = false;
  30. }
  31. }