Improved enchantment description formatting

This commit is contained in:
Auxilor 2022-09-05 16:00:43 +01:00
parent bff9316782
commit 54b5f9b6af
34 changed files with 34 additions and 34 deletions

View File

@ -5,7 +5,7 @@
# _example.yml is not loaded. # _example.yml is not loaded.
display-name: "Example" # The name of the enchantment in-game display-name: "Example" # The name of the enchantment in-game
description: "Gives a &a%placeholder%%&8 and a &a+%damage%&8 bonus to damage" # The description of the enchantment description: "Gives a &a%placeholder%%&r and a &a+%damage%&r bonus to damage" # The description of the enchantment
placeholder: "%level% * 20" # The placeholder to show in the enchantment description (optional, can only use custom placeholders) placeholder: "%level% * 20" # The placeholder to show in the enchantment description (optional, can only use custom placeholders)
placeholders: # Extra placeholders to show in the enchantment description (optional) placeholders: # Extra placeholders to show in the enchantment description (optional)
damage: "%level% * 2" # Here, %damage% would be the extra placeholder to use damage: "%level% * 2" # Here, %damage% would be the extra placeholder to use

View File

@ -1,5 +1,5 @@
display-name: "Abattoir" display-name: "Abattoir"
description: "Tridents deal &a%placeholder%% &8more damage against passive mobs" description: "Tridents deal &a%placeholder%% &rmore damage against passive mobs"
placeholder: "30 * %level%" placeholder: "30 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Abrasion" display-name: "Abrasion"
description: "Deals &a%placeholder% &8damage to your opponents armor" description: "Deals &a%placeholder% &rdamage to your opponents armor"
placeholder: "%level%" placeholder: "%level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Aerial" display-name: "Aerial"
description: "Deal &a%placeholder%% &8more arrow damage when you are in air" description: "Deal &a%placeholder%% &rmore arrow damage when you are in air"
placeholder: "10 * %level%" placeholder: "10 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Aquatic" display-name: "Aquatic"
description: "Trident deals &a%placeholder%% &8additional damage when shot from water" description: "Trident deals &a%placeholder%% &radditional damage when shot from water"
placeholder: "5 * %level%" placeholder: "5 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Arcane Defence" display-name: "Arcane Defence"
description: "&a%placeholder%% &8chance to ignore potion damage" description: "&a%placeholder%% &rchance to ignore potion damage"
placeholder: "%level% * 4" placeholder: "%level% * 4"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Ascend" display-name: "Ascend"
description: "Levitates you in the air for &a%placeholder%&8 seconds" description: "Levitates you in the air for &a%placeholder%&r seconds"
placeholder: "%level% / 4" placeholder: "%level% / 4"
type: spell type: spell

View File

@ -1,5 +1,5 @@
display-name: "Atmospheric" display-name: "Atmospheric"
description: "Deal &a%placeholder%% &8more trident damage when you are in air" description: "Deal &a%placeholder%% &rmore trident damage when you are in air"
placeholder: "10 * %level%" placeholder: "10 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Bladed" display-name: "Bladed"
description: "Trident deals &a%placeholder%% &8more damage" description: "Trident deals &a%placeholder%% &rmore damage"
placeholder: "0.5 * %level%" placeholder: "0.5 * %level%"
type: special type: special

View File

@ -1,5 +1,5 @@
display-name: "Blast Mining" display-name: "Blast Mining"
description: "&a%placeholder%% &8chance to mine blocks in a 3x3 area" description: "&a%placeholder%% &rchance to mine blocks in a 3x3 area"
placeholder: "5 * %level%" placeholder: "5 * %level%"
type: special type: special

View File

@ -1,5 +1,5 @@
display-name: "Bleed" display-name: "Bleed"
description: "&a%placeholder%% &8chance to cause your opponent to bleed, damaging them repeatedly" description: "&a%placeholder%% &rchance to cause your opponent to bleed, damaging them repeatedly"
placeholder: "1.5 * %level%" placeholder: "1.5 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Blind" display-name: "Blind"
description: "&a%placeholder%% &8chance of blinding your opponent" description: "&a%placeholder%% &rchance of blinding your opponent"
placeholder: "%level%" placeholder: "%level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Block Breather" display-name: "Block Breather"
description: "&a%placeholder%% &8chance to ignore suffocation damage" description: "&a%placeholder%% &rchance to ignore suffocation damage"
placeholder: "%level% * 15" placeholder: "%level% * 15"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Boss Hunter" display-name: "Boss Hunter"
description: "Deal &a%placeholder%% &8more damage against bosses" description: "Deal &a%placeholder%% &rmore damage against bosses"
placeholder: "10 * %level%" placeholder: "10 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Curse of Breaklessness" display-name: "Curse of Breaklessness"
description: "Gives a &a%placeholder%%&8 chance to fail to break blocks" description: "Gives a &a%placeholder%%&r chance to fail to break blocks"
placeholder: "15 * %level%" placeholder: "15 * %level%"
type: curse type: curse

View File

@ -1,5 +1,5 @@
display-name: "Butchering" display-name: "Butchering"
description: "Deal &a%placeholder%% &8more damage against passive mobs" description: "Deal &a%placeholder%% &rmore damage against passive mobs"
placeholder: "25 * %level%" placeholder: "25 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Carve" display-name: "Carve"
description: "Give &a%damage%&8 damage to entities within &a%radius%&8 blocks when you swing" description: "Give &a%damage%&r damage to entities within &a%radius%&r blocks when you swing"
placeholders: placeholders:
radius: "1 + %level%" radius: "1 + %level%"
damage: "%level% * 2" damage: "%level% * 2"

View File

@ -1,5 +1,5 @@
display-name: "Charge" display-name: "Charge"
description: "Launches you forwards at &a%placeholder%x&8 speed" description: "Launches you forwards at &a%placeholder%x&r speed"
placeholder: "5 * %level%" placeholder: "5 * %level%"
type: spell type: spell

View File

@ -1,5 +1,5 @@
display-name: "Confusion" display-name: "Confusion"
description: "&a%placeholder%% &8chance to shuffle your opponents hotbar" description: "&a%placeholder%% &rchance to shuffle your opponents hotbar"
placeholder: "2 * %level%" placeholder: "2 * %level%"
type: Special type: Special

View File

@ -1,5 +1,5 @@
display-name: "Corrosive" display-name: "Corrosive"
description: "Deals &a%placeholder% &8damage to your opponents armor" description: "Deals &a%placeholder% &rdamage to your opponents armor"
placeholder: "%level%" placeholder: "%level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Cubism" display-name: "Cubism"
description: "Deal &a%placeholder%% &8more against slimes and magma cubes" description: "Deal &a%placeholder%% &rmore against slimes and magma cubes"
placeholder: "5 * %level%" placeholder: "5 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Defusion" display-name: "Defusion"
description: "&8Deal &a%placeholder%% &8more damage against creepers" description: "&rDeal &a%placeholder%% &rmore damage against creepers"
placeholder: "%level% * 10" placeholder: "%level% * 10"
type: Normal type: Normal

View File

@ -1,5 +1,5 @@
display-name: "Dynamite" display-name: "Dynamite"
description: "Mines blocks in a &a%placeholder%x%placeholder%&8 area" description: "Mines blocks in a &a%placeholder%x%placeholder%&r area"
placeholder: "1 + %level% * 4" placeholder: "1 + %level% * 4"
type: spell type: spell

View File

@ -1,5 +1,5 @@
display-name: "First Strike" display-name: "First Strike"
description: "Deal &a%placeholder%% &8more damage against victims on max health" description: "Deal &a%placeholder%% &rmore damage against victims on max health"
placeholder: "30 + 20 * %level%" placeholder: "30 + 20 * %level%"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Curse of Harmlessness" display-name: "Curse of Harmlessness"
description: "Gives a &a%placeholder%% &8chance for attacks to do nothing" description: "Gives a &a%placeholder%% &rchance for attacks to do nothing"
placeholder: "15 * %level%" placeholder: "15 * %level%"
type: curse type: curse

View File

@ -1,5 +1,5 @@
display-name: "Lifesteal" display-name: "Lifesteal"
description: "Heals &a%placeholder%%&8 of damage dealt" description: "Heals &a%placeholder%%&r of damage dealt"
placeholder: "%placeholder% * 10" placeholder: "%placeholder% * 10"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Curse of Misfortune" display-name: "Curse of Misfortune"
description: "Gives a &a%placeholder%% &8chance for blocks to not drop items" description: "Gives a &a%placeholder%% &rchance for blocks to not drop items"
placeholder: "15 * %level%" placeholder: "15 * %level%"
type: curse type: curse

View File

@ -1,5 +1,5 @@
display-name: "Quake" display-name: "Quake"
description: "Gives &a%damage%&8 damage to all entities in a radius of &a%radius%&8 blocks" description: "Gives &a%damage%&r damage to all entities in a radius of &a%radius%&r blocks"
placeholders: placeholders:
radius: "2 + %level%" radius: "2 + %level%"
damage: "3 * %level%" damage: "3 * %level%"

View File

@ -1,5 +1,5 @@
display-name: "Rapid" display-name: "Rapid"
description: "Lets you shoot full speed arrows with the bow at &a%placeholder%%&8 tension" description: "Lets you shoot full speed arrows with the bow at &a%placeholder%%&r tension"
placeholder: "1 - (15 * %level%)" placeholder: "1 - (15 * %level%)"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Repairing" display-name: "Repairing"
description: "Automatically gain &a%amount%&8 durability every &a%frequency% &8seconds" description: "Automatically gain &a%amount%&r durability every &a%frequency% &rseconds"
type: special type: special
placeholders: placeholders:
frequency: "1.5" frequency: "1.5"

View File

@ -1,5 +1,5 @@
display-name: "Thor" display-name: "Thor"
description: "Gives a &a%chance%%&8 chance to strike &a%bolts%&8 lightning bolts on your opponent" description: "Gives a &a%chance%%&r chance to strike &a%bolts%&r lightning bolts on your opponent"
placeholders: placeholders:
chance: "%level% * 1" chance: "%level% * 1"
bolts: "ceil(%level% / 2)" bolts: "ceil(%level% / 2)"

View File

@ -1,5 +1,5 @@
display-name: "Thrive" display-name: "Thrive"
description: "Gives &a%placeholder%&8 bonus health" description: "Gives &a%placeholder%&r bonus health"
placeholder: "%level% * 2" placeholder: "%level% * 2"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Wisdom" display-name: "Wisdom"
description: "&8Increases dropped experience by &a%placeholder%%" description: "&rIncreases dropped experience by &a%placeholder%%"
placeholder: "100 + %level% * 20" placeholder: "100 + %level% * 20"
type: normal type: normal

View File

@ -1,5 +1,5 @@
display-name: "Wound" display-name: "Wound"
description: "Gives a &a%chance%%&8 chance to give your opponent &a%damage% &8damage for &a%duration%&8 seconds" description: "Gives a &a%chance%%&r chance to give your opponent &a%damage% &rdamage for &a%duration%&r seconds"
placeholders: placeholders:
chance: "%level% * 3" chance: "%level% * 3"
duration: "0.75 * (%level% + 2)" duration: "0.75 * (%level% + 2)"