From 6db16d0ed3e7b2163892e0524b7bc8caa291a0d4 Mon Sep 17 00:00:00 2001 From: Logen Kain Date: Mon, 9 Oct 2017 00:25:48 -0700 Subject: [PATCH] Added weapons --- weapons.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 weapons.go diff --git a/weapons.go b/weapons.go new file mode 100644 index 0000000..99b7171 --- /dev/null +++ b/weapons.go @@ -0,0 +1,18 @@ +package main + +type Weapon struct { + Name string + Damage int + Active bool +} + +var ( + Broadsword = Weapon{ + Name: "Broadsword", + Damage: 25, + Active: false} + + GoblinClaw = Weapon{ + Name: "Goblin Claw", + Damage: 5} +)