Increased the seconds for activation time perk.

This commit is contained in:
GJ 2012-06-22 10:13:37 -04:00
parent 20b73dcc84
commit adffea1d52
3 changed files with 13 additions and 13 deletions

View File

@ -11,7 +11,7 @@ Version 1.3.09
+ Added compatibility with AntiCheat (Which I highly recommend to prevent cheating) + Added compatibility with AntiCheat (Which I highly recommend to prevent cheating)
+ Added several permission nodes to give individual users special perks (Double/Triple/Quadruple XP) + Added several permission nodes to give individual users special perks (Double/Triple/Quadruple XP)
+ Added reduced cooldown permission nodes as donor perks (1/4, 1/3, 1/2 cooldown) + Added reduced cooldown permission nodes as donor perks (1/4, 1/3, 1/2 cooldown)
+ Added increased activation time permissions nodes as donor perks (+2, +4, and +6 seconds) + Added increased activation time permissions nodes as donor perks (+4, +8, and +12 seconds)
+ Added API for plugins to add custom tools directly via Spout - repair / abilities do not work ATM + Added API for plugins to add custom tools directly via Spout - repair / abilities do not work ATM
+ Added offline party members to the list displayed by /party + Added offline party members to the list displayed by /party
+ Added possibility to kick offline members from parties + Added possibility to kick offline members from parties

View File

@ -404,15 +404,15 @@ public class Skills {
int ticks = 2 + (PP.getSkillLevel(type) / 50); int ticks = 2 + (PP.getSkillLevel(type) / 50);
if (player.hasPermission("mcmmo.perks.activationtime.sixseconds")) { if (player.hasPermission("mcmmo.perks.activationtime.twelveseconds")) {
ticks = ticks + 6; ticks = ticks + 12;
}
else if (player.hasPermission("mcmmo.perks.activationtime.eightseconds")) {
ticks = ticks + 8;
} }
else if (player.hasPermission("mcmmo.perks.activationtime.fourseconds")) { else if (player.hasPermission("mcmmo.perks.activationtime.fourseconds")) {
ticks = ticks + 4; ticks = ticks + 4;
} }
else if (player.hasPermission("mcmmo.perks.activationtime.twoseconds")) {
ticks = ticks + 2;
}
int maxTicks = ability.getMaxTicks(); int maxTicks = ability.getMaxTicks();

View File

@ -142,18 +142,18 @@ permissions:
default: false default: false
description: Increased activation time perks typically given to donors or VIPs description: Increased activation time perks typically given to donors or VIPs
children: children:
mcmmo.perks.activationtime.sixseconds: true mcmmo.perks.activationtime.twelveseconds: true
mcmmo.perks.activationtime.eightseconds: true
mcmmo.perks.activationtime.fourseconds: true mcmmo.perks.activationtime.fourseconds: true
mcmmo.perks.activationtime.twoseconds: true mcmmo.perks.activationtime.twelveseconds:
mcmmo.perks.activationtime.sixseconds:
default: false 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: mcmmo.perks.activationtime.fourseconds:
default: false default: false
description: Increases activation time by 4 seconds description: Increases activation time by 4 seconds
mcmmo.perks.activationtime.twoseconds:
default: false
description: Increases activation time by 2 seconds
mcmmo.perks.cooldowns: mcmmo.perks.cooldowns:
default: false default: false
description: Reduced cooldown perks typically given to donors or VIPs description: Reduced cooldown perks typically given to donors or VIPs