diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-08-06 15:23:17 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-06 15:28:34 +0200 |
| commit | a1f59ce10276211e44aef3f55d5ef1a41ebbcc95 (patch) | |
| tree | 191fcec80b73b786a89004c5fd94afcd0e8be50b /go/game/permanent.go | |
| parent | a0345c11f8035b300330e6b7c59a654c1e1e231d (diff) | |
| download | muhqs-game-a1f59ce10276211e44aef3f55d5ef1a41ebbcc95.tar.gz muhqs-game-a1f59ce10276211e44aef3f55d5ef1a41ebbcc95.zip | |
update missionary
Limit the range of the missionary's full action but increase its effectivnes.
The missionary could only really be used unthreatened over multiple turns.
Since any unit can be disbanded during upkeep before it is evangelized, the missionary is only a slow destroy effect.
Now it is way more potent controlling cheaper units with the first action but it has to be close to the enemy unit making it more vulnerable.
Diffstat (limited to 'go/game/permanent.go')
| -rw-r--r-- | go/game/permanent.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/go/game/permanent.go b/go/game/permanent.go index 09a8829c..503084a2 100644 --- a/go/game/permanent.go +++ b/go/game/permanent.go @@ -19,6 +19,7 @@ type Permanent interface { ContainingPerm() Permanent Pile() []Permanent Controller() *Player + changeController(*Player) Owner() *Player Effects() []string HasEffect(string) bool @@ -89,6 +90,11 @@ func (p *permanentBase) Pile() []Permanent { return p.pile } func (p *permanentBase) Controller() *Player { return p.controller } func (p *permanentBase) Owner() *Player { return p.owner } +func (p *permanentBase) changeController(c *Player) { + p.controller = c + +} + func FmtPermanent(p Permanent) string { typeIndicator := strings.ToUpper(p.Card().Type.String()[:1]) |
