mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
Added AOE uniques in UniqueType.kt
This commit is contained in:
parent
8579ca8d87
commit
45d251ce7e
@ -426,6 +426,21 @@ enum class UniqueType(
|
|||||||
IndirectFire("Ranged attacks may be performed over obstacles", UniqueTarget.Unit, UniqueTarget.Global),
|
IndirectFire("Ranged attacks may be performed over obstacles", UniqueTarget.Unit, UniqueTarget.Global),
|
||||||
NuclearWeapon("Nuclear weapon of Strength [amount]", UniqueTarget.Unit),
|
NuclearWeapon("Nuclear weapon of Strength [amount]", UniqueTarget.Unit),
|
||||||
|
|
||||||
|
//Aoe Attacks
|
||||||
|
AoeFlatAttack("Attacks also target all units within [positiveAmount] tiles", UniqueTarget.Unit,
|
||||||
|
docDescription = "Performs an attack against every unit in the radius, dealing equal damage. Status effects and on-hit abilities apply to all affected units. " +
|
||||||
|
"If both this and decreasing area attacks are present, only decreasing area attacks will be used."),
|
||||||
|
AoeDegradeAttack("Attacks also target units within [positiveAmount] tiles, with damage decreasing by distance", UniqueTarget.Unit,
|
||||||
|
docDescription = "Performs an attack against every unit in the radius. Status effects and on-hit abilities apply. " +
|
||||||
|
"Damage decreases with distance from the main target. If both this and equal area attacks are present, only this will be used. " +
|
||||||
|
"Damage formula: Damage = (1 - (distance / radius)) * baseDamage"),
|
||||||
|
CanDamageSelfInAOE("Damages self with Aoe attacks", UniqueTarget.Unit,
|
||||||
|
docDescription = "This unit takes damage from its own Aoe attacks, does not mean it will take damage from allied Aoe attacks."),
|
||||||
|
CanDamageAlliesInAOE("Damages allied units with Aoe attacks", UniqueTarget.Unit,
|
||||||
|
docDescription = "This unit damages allied units with Aoe attacks, does not mean it will take damage from its own Aoe attacks unless Damages self with Aoe attacks is also set."),
|
||||||
|
TakeCounterDamageFromAOE("Takes counter damage from each unit hit by its area attacks", UniqueTarget.Unit,
|
||||||
|
docDescription = "Only works for melee units, counter damage does not activate on self if \"Damages self with Aoe attacks\" unique is also present."),
|
||||||
|
|
||||||
NoDefensiveTerrainBonus("No defensive terrain bonus", UniqueTarget.Unit, UniqueTarget.Global),
|
NoDefensiveTerrainBonus("No defensive terrain bonus", UniqueTarget.Unit, UniqueTarget.Global),
|
||||||
NoDefensiveTerrainPenalty("No defensive terrain penalty", UniqueTarget.Unit, UniqueTarget.Global),
|
NoDefensiveTerrainPenalty("No defensive terrain penalty", UniqueTarget.Unit, UniqueTarget.Global),
|
||||||
NoDamagePenaltyWoundedUnits("No damage penalty for wounded units", UniqueTarget.Unit, UniqueTarget.Global),
|
NoDamagePenaltyWoundedUnits("No damage penalty for wounded units", UniqueTarget.Unit, UniqueTarget.Global),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user