master
E. Almqvist 3 years ago
parent 655db657f4
commit 6cb23fa9a3
  1. 2
      prog2/rubyobjects/monster.rb

@ -72,7 +72,7 @@ end
class Goblin < Monster
def initialize(name)
hp = rand(4..12)
ap = rand(8..10)
ap = rand(2..10)
super(name, hp, ap)
end
end

Loading…
Cancel
Save