mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Make PowerMultiplier of AvatarState configurable
This commit is contained in:
parent
b90552537f
commit
738a4dbaf5
3 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue