| | |
| | | return true; |
| | | } |
| | | |
| | | public virtual void Hurt(List<long> damageValues, long _totalDamage, int attackType) |
| | | public virtual void Hurt(List<long> damageValues, long _totalDamage, uint attackType) |
| | | { |
| | | PopDamage(teamHero.curHp, damageValues, attackType); |
| | | |
| | |
| | | } |
| | | |
| | | // 伤害还要看 是否闪避 暴击 and so on 需要有一个DamageType 服务器应该会给 |
| | | protected virtual void PopDamage(long curHp, List<long> damageValues, int attackType) |
| | | protected virtual void PopDamage(long curHp, List<long> damageValues, uint attackType) |
| | | { |
| | | // 其实应该通知出去给UI界面解耦 让UI界面自己来显示的 YYL TODO |
| | | // 播放伤害数字 |