| | |
| | | return true; |
| | | } |
| | | |
| | | public virtual void Hurt(BattleHurtParam battleHurtParam) |
| | | public virtual void Hurt(BattleHurtParam battleHurtParam, RecordAction causingRecordAction = null) |
| | | { |
| | | bool isLastHit = battleHurtParam.hitIndex >= battleHurtParam.skillConfig.DamageDivide.Length - 1; |
| | | bool firstHit = battleHurtParam.hitIndex == 0; |
| | |
| | | { |
| | | PushDropItems(battleHurtParam.battleDrops); |
| | | } |
| | | battleField.OnObjsDead(new List<BattleDeadPack>() { battleHurtParam.deadPack }); |
| | | battleField.OnObjsDead(new List<BattleDeadPack>() { battleHurtParam.deadPack }, causingRecordAction); |
| | | |
| | | } |
| | | else |