Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ***********************Excerpt of config (Expected Problem Area)******************
- # %(victim/attacker)is under water% - returns "true/false"
- # %is headshot% - returns "true/false" (for BOW)
- # %has potion effect <POTION EFFECT TYPE>% - returns "true/false"
- # %(attacker /victim )faction land% - returns ENEMY, NEUTRAL, TRUCE, MEMBER (own land) (Factions)
- # %(attacker /victim )level of skill (mcmmo skill(UpperCase))% - returns level number (mcMMO)
- # %(attacker /victim )is bleeding% - returns "true/false" if player is bleeding (mcMMO)
- # %damaged from behind% - returns if victim was damaged from behind by enemy
- # %attacker has enchantment in hand of <enchant>% - returns "true/false", checks if player has enchantment on their item
- # %attacker time%/%victim time% - get player world time
- #
- # « Variables for end solution »
- # %force% (forces effect to activate ignoring chance), %continue% (let's the effect reading continue, takes chance in consideration),
- # %stop% (ignores all of the effects), %chance%+x (increases chance by x%), %chance-x% (decreases chance by x%)
- # Settings for enchantments
- # *** This is not a required configuration section and each enchantment doesn't need to have it ***
- # settings:
- # required-enchants:
- # - 'springs'
- # not-applyable-with:
- # - 'frozen'
- # removeable: false # Makes enchantment non-removeable with blackscrolls
- # disable-in-enchanter: true # Players can no longer obtain enchantment from Enchanter
- # disabled-worlds: # List worlds in which enchantment will not work (cAsE sEnSiTiVe)
- # - 'My_World'
- restore:
- display: '%group-color%Restore'
- description: "Upon breaking, item has a chance\nto lose this enchantment and repair\nhalf of it's durability"
- applies-to: 'Tools'
- type: 'ITEM_BREAK'
- group: 'ULTIMATE'
- applies:
- - ALL_PICKAXE
- - ALL_SPADE
- - ALL_AXE
- levels:
- 1:
- chance: 40
- effects:
- - 'REMOVE_ENCHANT:restore'
- - 'ADD_DURABILITY_ITEM:<round><math>-1 * (%maximum durability%/2)</math></round>'
- - 'MESSAGE:&6&l*** &e&lItem Restored &6&l***'
- 2:
- chance: 60
- effects:
- - 'REMOVE_ENCHANT:restore'
- - 'ADD_DURABILITY_ITEM:<round><math>-1 * (%maximum durability%/2)</math></round>'
- - 'MESSAGE:&6&l*** &e&lItem Restored &6&l***'
- 3:
- chance: 80
- effects:
- - 'REMOVE_ENCHANT:restore'
- - 'ADD_DURABILITY_ITEM:<round><math>-1 * (%maximum durability%/2)</math></round>'
- - 'MESSAGE:&6&l*** &e&lItem Restored &6&l***'
- 4:
- chance: 100
- effects:
- - 'REMOVE_ENCHANT:restore'
- - 'ADD_DURABILITY_ITEM:<round><math>-1 * (%maximum durability%/2)</math></round>'
- - 'MESSAGE:&6&l*** &e&lItem Restored &6&l***'
- shuffle:
- display: '%group-color%Shuffle'
- description: 'Shuffles opponent''s hotbar.'
- applies-to: 'Armor'
- type: 'DEFENSE'
- group: 'SIMPLE'
- applies:
- - ALL_ARMOR
- levels:
- 1:
- chance: 5
- cooldown: 20
- effects:
- - 'RANDOMIZE_HOTBAR %attacker%'
- 2:
- chance: 6
- cooldown: 18
- effects:
- - 'RANDOMIZE_HOTBAR %attacker%'
- 3:
- chance: 8
- cooldown: 15
- effects:
- - 'RANDOMIZE_HOTBAR %attacker%'
- aquatic:
- display: '%group-color%Aquatic'
- description: 'Gives permanent water breathing.'
- applies-to: 'Helmets'
- type: 'EFFECT_STATIC'
- group: 'SIMPLE'
- applies:
- - ALL_HELMET
- levels:
- 1:
- effects:
- - 'POTION:WATER_BREATHING:0'
- autosmelt:
- display: '%group-color%Auto Smelt'
- description: "Ores are automatically smelted\nwhen mined."
- applies-to: 'Pickaxes'
- type: 'MINING'
- group: 'SIMPLE'
- applies:
- - ALL_PICKAXE
- levels:
- 1:
- chance: 41
- effects:
- - 'SMELT'
- 2:
- chance: 62
- effects:
- - 'SMELT'
- 3:
- chance: 100
- effects:
- - 'SMELT'
- confusion:
- display: '%group-color%Confusion'
- description: "A chance to deal nausea to\nyour victim."
- applies-to: 'Axes'
- type: 'ATTACK'
- group: 'SIMPLE'
- applies:
- - ALL_AXE
- levels:
- 1:
- chance: 13
- cooldown: 1
- effects:
- - 'POTION:CONFUSION:0:40 %victim%'
- 2:
- chance: 19
- cooldown: 1
- effects:
- - 'POTION:CONFUSION:0:80 %victim%'
- 3:
- chance: 24
- cooldown: 1
- effects:
- - 'POTION:CONFUSION:0:120 %victim%'
- experience:
- display: '%group-color%Experience'
- description: 'Chance to get experience from mining.'
- applies-to: 'Tools'
- *********************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement