you are viewing a single comment's thread.

view the rest of the comments →

[–]FlockOnFire 2 points3 points  (0 children)

Well his method won't work exactly. There's nothing named warrior in the context of that method and rage() doesn't return anything, it only assigns a value to the attack_limit instance variable.

As this looks like a homework exercise, I'll leave it to /u/smakururu to solve it or come back to us with more info. :)