Advertisement
Guest User

Untitled

a guest
May 2nd, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. if (target && target->getPlayer()) {
  2. minValue = static_cast<int32_t>(std::ceil(maxValue * 0.3));
  3. } else {
  4. //0.2 is against monsters
  5. minValue = static_cast<int32_t>(std::ceil(maxValue * 0.2));
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement