mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Increased the seconds for activation time perk.
This commit is contained in:
@ -404,15 +404,15 @@ public class Skills {
|
||||
|
||||
int ticks = 2 + (PP.getSkillLevel(type) / 50);
|
||||
|
||||
if (player.hasPermission("mcmmo.perks.activationtime.sixseconds")) {
|
||||
ticks = ticks + 6;
|
||||
if (player.hasPermission("mcmmo.perks.activationtime.twelveseconds")) {
|
||||
ticks = ticks + 12;
|
||||
}
|
||||
else if (player.hasPermission("mcmmo.perks.activationtime.eightseconds")) {
|
||||
ticks = ticks + 8;
|
||||
}
|
||||
else if (player.hasPermission("mcmmo.perks.activationtime.fourseconds")) {
|
||||
ticks = ticks + 4;
|
||||
}
|
||||
else if (player.hasPermission("mcmmo.perks.activationtime.twoseconds")) {
|
||||
ticks = ticks + 2;
|
||||
}
|
||||
|
||||
int maxTicks = ability.getMaxTicks();
|
||||
|
||||
|
@ -142,18 +142,18 @@ permissions:
|
||||
default: false
|
||||
description: Increased activation time perks typically given to donors or VIPs
|
||||
children:
|
||||
mcmmo.perks.activationtime.sixseconds: true
|
||||
mcmmo.perks.activationtime.twelveseconds: true
|
||||
mcmmo.perks.activationtime.eightseconds: true
|
||||
mcmmo.perks.activationtime.fourseconds: true
|
||||
mcmmo.perks.activationtime.twoseconds: true
|
||||
mcmmo.perks.activationtime.sixseconds:
|
||||
mcmmo.perks.activationtime.twelveseconds:
|
||||
default: false
|
||||
description: Increases activation time by 6 seconds
|
||||
description: Increases activation time by 12 seconds
|
||||
mcmmo.perks.activationtime.eightseconds:
|
||||
default: false
|
||||
description: Increases activation time by 8 seconds
|
||||
mcmmo.perks.activationtime.fourseconds:
|
||||
default: false
|
||||
description: Increases activation time by 4 seconds
|
||||
mcmmo.perks.activationtime.twoseconds:
|
||||
default: false
|
||||
description: Increases activation time by 2 seconds
|
||||
mcmmo.perks.cooldowns:
|
||||
default: false
|
||||
description: Reduced cooldown perks typically given to donors or VIPs
|
||||
|
Reference in New Issue
Block a user