13 lines
197 B
Ruby
13 lines
197 B
Ruby
require_relative 'Character'
|
|
|
|
class Warrior < Character
|
|
|
|
def initialize str, *arg
|
|
super(str, 10, 10, 10, 10, 10, *arg)
|
|
end
|
|
|
|
def str; carac[:str]; end
|
|
def bstr; (str - 10) / 2; end
|
|
|
|
end
|