Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Throw doesn't work for archer class in c++

I’m using C++, and I found another bug.
Throw is also another command in c++ code, here’s some info:
So it takes precedence of the throwing items cmd for archers
Here’s the code:

if(hero.isReady("throw")) {

Sorry for the terrible grammar (if it is), I’m lazy
~ Orb

Yeah I’ve reported this from a previous case:

1 Like

I guess you could modify it, like add a something before the throw so it doesn’t confuse with original C++ code.
~ Orb

1 Like