Update warrior.cpp