mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 13:18:56 +07:00
Remove double XP gain from Intercept (#7414)
This commit is contained in:
@ -836,9 +836,6 @@ object Battle {
|
|||||||
if (damage > 0)
|
if (damage > 0)
|
||||||
addXp(MapUnitCombatant(interceptor), 2, attacker)
|
addXp(MapUnitCombatant(interceptor), 2, attacker)
|
||||||
|
|
||||||
if (damage > 0)
|
|
||||||
addXp(MapUnitCombatant(interceptor), 2, attacker)
|
|
||||||
|
|
||||||
val attackerName = attacker.getName()
|
val attackerName = attacker.getName()
|
||||||
val interceptorName = interceptor.name
|
val interceptorName = interceptor.name
|
||||||
val locations = LocationAction(interceptor.currentTile.position, attacker.unit.currentTile.position)
|
val locations = LocationAction(interceptor.currentTile.position, attacker.unit.currentTile.position)
|
||||||
|
Reference in New Issue
Block a user