Advertisement
Kapa3a

fix HP Negativ cand mori

Nov 29th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | Source Code | 0 0
  1. In char_battle.cpp cauta :
  2. if (!cannot_dead)
  3.  
  4.  
  5. si inlocuieste tot if-ul cu
  6.    if (!cannot_dead)
  7.    {
  8.       if (GetHP() - dam <= 0)
  9.          dam = GetHP();
  10.       PointChange(POINT_HP, -dam, false);
  11.    }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement