Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. case POINT_POTION_BONUS:
  2. if (GetPoint(type) + amount > 100)
  3. {
  4. sys_err("BONUS exceeded over 100!! point type: %d name: %s amount %d", type, GetName(), amount);
  5. amount = 100 - GetPoint(type);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement