eri000n

Untitled

Apr 5th, 2023
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. }
  2.  
  3. if (GetLevel() <= 10)
  4. AutoGiveItem(27001, 2);
  5. else if (GetLevel() <= 30)
  6. AutoGiveItem(27002, 2);
  7. else
  8. {
  9. AutoGiveItem(27002, 2);
  10. // AutoGiveItem(27003, 2);
  11. }
  12.  
  13. PointChange(POINT_HP, GetMaxHP() - GetHP());
  14. PointChange(POINT_SP, GetMaxSP() - GetSP());
  15. PointChange(POINT_STAMINA, GetMaxStamina() - GetStamina());
  16.  
  17. SetPoint(POINT_LEVEL_STEP, val);
  18. SetRealPoint(POINT_LEVEL_STEP, val);
  19.  
  20. Save();
  21. }
  22. else
  23. val = GetPoint(POINT_LEVEL_STEP);
  24.  
  25. break;
Advertisement
Add Comment
Please, Sign In to add comment