From 682dc31b0cd6e59ae2b720a4a0f863de481d5f16 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 10 Sep 2022 13:55:45 +0100 Subject: [PATCH] Added slayer --- .../src/main/resources/jobs/builder.yml | 2 +- .../src/main/resources/jobs/slayer.yml | 92 +++++++++++++++++++ 2 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 eco-core/core-plugin/src/main/resources/jobs/slayer.yml diff --git a/eco-core/core-plugin/src/main/resources/jobs/builder.yml b/eco-core/core-plugin/src/main/resources/jobs/builder.yml index 2e23a4e..f4a3f42 100644 --- a/eco-core/core-plugin/src/main/resources/jobs/builder.yml +++ b/eco-core/core-plugin/src/main/resources/jobs/builder.yml @@ -97,4 +97,4 @@ effects: conditions: [ ] -icon: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmM4ZWJhZDcyYjc3ZGYzOTkwZTA3YmM4NjlhOTlhOGY4OTYyZDNjMTljNzZlMzlkOTk1NTNjYWU0MTMxY2M4In19fQ== +icon: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTBiYmVmMGE0YmNmMDNlMDQ5ZDU1NmRhMGJlZDZiNDFkZDkyOGI4OTdhNDJhZTAxZWZlYTY4NGI1NjFjNDMyZiJ9fX0= diff --git a/eco-core/core-plugin/src/main/resources/jobs/slayer.yml b/eco-core/core-plugin/src/main/resources/jobs/slayer.yml new file mode 100644 index 0000000..02858a0 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/jobs/slayer.yml @@ -0,0 +1,92 @@ +name: "a0303Slayer" +description: "&8&oLevel up by killing mobs" + +unlocked-by-default: true + +level-xp-requirements: + - 100 + - 120 + - 150 + - 180 + - 210 + - 250 + - 300 + - 360 + - 430 + - 520 + - 620 + - 740 + - 890 + - 1000 + - 1300 + - 1500 + - 1900 + - 2200 + - 2700 + - 3200 + - 3800 + - 4600 + - 5500 + - 6600 + - 7900 + - 9500 + - 11500 + - 14000 + - 17000 + - 19000 + - 24000 + - 29000 + - 34000 + - 41000 + - 50000 + - 60000 + - 70000 + - 85000 + - 100000 + - 120000 + - 150000 + - 180000 + - 210000 + - 250000 + - 300000 + - 360000 + - 440000 + - 580000 + - 750000 + +xp-gain-methods: + - trigger: kill + multiplier: 0.05 + conditions: [ ] + +level-placeholders: + - id: "money" + value: "%level% / 10" + +effects-description: + 1: + - "&8» &8Earn &a$%money%&8 per heart of health that" + - " &8mobs you kill have" + +rewards-description: + 1: + - "&8» &8Earn &a$%money%&8 per heart of health that" + - " &8mobs you kill have" + +level-up-messages: + 1: + - "&8» &8Earn &a$%money%&8 per heart of health that" + - " &8mobs you kill have" + +level-commands: [ ] + +effects: + - id: give_money + args: + value: "%v% * %level% * 0.1" + triggers: + - kill + +conditions: [ ] + +icon: player_head texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDY5MTllMGFjYzFiMjkzYThkNWY5NzI4NjkzMzZhN2VmZWRiMGJhNmY0YzdlMTkzODhkOGZiODEyNjBmMzIzYyJ9fX0=