Add formula when player higher or lower limit
Fix hologram
Improve code
Code (Text):
Add MOBNAME.LEVEL.END
#if player level is greater than or equal to end -> mobs don't give xp anymore
Fix issue with killer is NPC
add Custom Formula (Only apply to command)
Fix bug if calculator return double not int
Full mob config example:
Code (Text):
EXAMPLE:
USE:
FORMULA: true
LIMITED_XP: false
COMMAND: false
LEVEL_END: true
CUSTOM_FORMULA:
EXAMPLE1: '%mob_xp% * 2' #Placeholder only apply to command!
EXAMPLE2: '%mob_xp% * 5' #cf_example2#
COMMAND:
OUT_OF_BOUNDS:
- 'eco give %player_name% #cf_EXAMPLE1#'
WITHIN_LIMITS:
- 'eco give %player_name% #cf_EXAMPLE2#'
FORMULA:
OUT_OF_BOUNDS:
LOWER: '%mob_xp%'
HIGHER: '%mob_xp% * 4'
WITHIN_LIMITS: '%mob_xp% * 2'
XP:
DEFAULT: 1
MAX: 1
LEVEL:
END: 10
MAX: 5
MIN: 1
Support Discord:
https://discord.gg/CWjaq5fZN9