sociophobia

AA

Sep 12th, 2015
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. void setHP(int value){
  2. Random HP_secure= new Random();
  3. HP = value+HP_secure;
  4. HP_ac = value+HP_secure;
  5.  
  6. }
  7.  
  8. int getHP(){
  9. if(value != HP_ac){
  10. gameclose()
  11. exit;
  12. }
  13. return hp^HP_secure;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment