Test a webhook commit.

pull/28/head
sigonasr2 2 years ago
parent 0718150cd0
commit ae50e6631f
  1. 2
      Crawler/Monster.cpp

@ -308,7 +308,7 @@ AnimationState Monster::GetDeathAnimationName(){
return AnimationState::IDLE_S; return AnimationState::IDLE_S;
} }
} }
} }
bool Monster::Hurt(int damage){ bool Monster::Hurt(int damage){
if(hp<=0) return false; if(hp<=0) return false;
hp=std::max(0,hp-damage); hp=std::max(0,hp-damage);

Loading…
Cancel
Save