Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (target && target->getPlayer()) {
- minValue = static_cast<int32_t>(std::ceil(maxValue * 0.3));
- } else {
- //0.2 is against monsters
- minValue = static_cast<int32_t>(std::ceil(maxValue * 0.2));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement