aboutsummaryrefslogtreecommitdiff
path: root/go/game/artifact.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/artifact.go')
-rw-r--r--go/game/artifact.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/artifact.go b/go/game/artifact.go
index 92a0361a..23b653a6 100644
--- a/go/game/artifact.go
+++ b/go/game/artifact.go
@@ -39,13 +39,13 @@ func (a *Artifact) Fight(p Permanent) {
}
func (a *Artifact) IsDestroyed() bool {
- return a.Damage >= a.Solid
+ return a.Damage() >= a.Solid
}
func (a *Artifact) Attackable() bool {
return a.Solid > 0
}
-func (a *Artifact) GetAvailActionPrototypes() []ActionPrototype {
+func (a *Artifact) AvailActionPrototypes() []ActionPrototype {
return []ActionPrototype{}
}