Make PowerMultiplier of AvatarState configurable

This commit is contained in:
MistPhizzle 2014-07-20 15:38:55 -04:00
parent b90552537f
commit 738a4dbaf5
3 changed files with 3 additions and 1 deletions

View file

@ -33,7 +33,7 @@ public class AvatarState {
private static int fireResistancePower = config.getInt("Abilities.AvatarState.PotionEffects.FireResistance.Power") - 1;
private static long duration = config.getLong("Abilities.AvatarState.Duration");
private static final double factor = 5;
private static final double factor = config.getDouble("Abilities.AvatarState.PowerMultiplier");
Player player;

View file

@ -87,6 +87,7 @@ public class ConfigManager {
+ "State selected to deactivate it.");
config.addDefault("Abilities.AvatarState.Cooldown", 7200000);
config.addDefault("Abilities.AvatarState.Duration", 480000);
config.addDefault("Abilities.AvatarState.PowerMultiplier", 5);
config.addDefault("Abilities.AvatarState.PotionEffects.Regeneration.Enabled", true);
config.addDefault("Abilities.AvatarState.PotionEffects.Regeneration.Power", 3);
config.addDefault("Abilities.AvatarState.PotionEffects.Speed.Enabled", true);

View file

@ -66,6 +66,7 @@ Abilities:
Description: "The signature ability of the Avatar, this is a toggle. Click to activate to become nearly unstoppable. While in the Avatar State, the user takes severely reduced damage from all sources, regenreates health rapidly, and is granted extreme speed. Nearly all abilities are incredibly amplified in this state. Additionally, AirShield and FireJet become toggle-able abilities and last until you deactivate them or the Avatar State. Click again with the Avatar State selected to deactivate it."
Cooldown: 720000
Duration: 480000
PowerMultiplier: 5
PotionEffects:
Regeneration:
Enabled: true