mcmmo:
type: world
debug: true
events:
on mcmmo player gains xp for skill:
- if <player.location.is_within[cu@orcdungeon]> {
- determine cancelled
}
+ - if li@unarmed|sword|woodcutting !contains <context.skill> {
+ - queue clear
+ }
- define 2 <context.xp.round>
- title 'subtitle:<&a><&7>+<player.flag[exp_drop].add[<def[2]>].as_int||<def[2]||>> xp <&7>[<&e><context.skill><&7>] ' targets:<player> fade_in:0 stay:10t fade_out:2s
- flag <player> exp_drop:+:<def[2]> duration:2s
-