Add a per-player handicap option to the lobby.

Handicaps reduce unit health, firepower, and build speed.
This commit is contained in:
Paul Chote
2020-12-30 15:17:44 +00:00
committed by reaperrr
parent c7c78eda80
commit 02a2624bcc
22 changed files with 346 additions and 0 deletions

View File

@@ -221,6 +221,11 @@
AttackMove:
AssaultMoveCondition: assault-move
^PlayerHandicaps:
HandicapFirepowerMultiplier:
HandicapDamageMultiplier:
HandicapProductionTimeMultiplier:
^GlobalBounty:
GrantConditionOnPrerequisite@GLOBALBOUNTY:
Condition: global-bounty
@@ -234,6 +239,7 @@
Inherits@3: ^ClassicFacingSpriteActor
Inherits@bounty: ^GlobalBounty
Inherits@selection: ^SelectableCombatUnit
Inherits@handicaps: ^PlayerHandicaps
Huntable:
OwnerLostAction:
Action: Kill
@@ -313,6 +319,7 @@
Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty
Inherits@selection: ^SelectableCombatUnit
Inherits@handicaps: ^PlayerHandicaps
Huntable:
OwnerLostAction:
Action: Kill
@@ -483,6 +490,7 @@
Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty
Inherits@selection: ^SelectableCombatUnit
Inherits@handicaps: ^PlayerHandicaps
Huntable:
OwnerLostAction:
Action: Kill
@@ -532,6 +540,7 @@
Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty
Inherits@selection: ^SelectableCombatUnit
Inherits@handicaps: ^PlayerHandicaps
Huntable:
OwnerLostAction:
Action: Kill
@@ -632,6 +641,7 @@
Inherits@shape: ^1x1Shape
Inherits@bounty: ^GlobalBounty
Inherits@selection: ^SelectableBuilding
Inherits@handicaps: ^PlayerHandicaps
Targetable:
TargetTypes: GroundActor, C4, DetonateAttack, Structure
Building:
@@ -737,6 +747,7 @@
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@shape: ^1x1Shape
Inherits@handicaps: ^PlayerHandicaps
Interactable:
Bounds: 24,24
OwnerLostAction: