mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 03:30:10 +00:00
Populating Values and Naming Accord
- Removes unused damage value from Twister - Populates ChiProperties BlockChiChance and BlockChiDuration.
This commit is contained in:
parent
c6e208cdfe
commit
86e0404728
2 changed files with 3 additions and 5 deletions
|
@ -27,8 +27,6 @@ public class Twister extends AirAbility<TwisterConfig> implements ComboAbility {
|
||||||
@Attribute(Attribute.COOLDOWN)
|
@Attribute(Attribute.COOLDOWN)
|
||||||
private long cooldown;
|
private long cooldown;
|
||||||
private long time;
|
private long time;
|
||||||
@Attribute(Attribute.DAMAGE)
|
|
||||||
private double damage;
|
|
||||||
@Attribute(Attribute.SPEED)
|
@Attribute(Attribute.SPEED)
|
||||||
private double speed;
|
private double speed;
|
||||||
@Attribute(Attribute.RANGE)
|
@Attribute(Attribute.RANGE)
|
||||||
|
@ -71,7 +69,7 @@ public class Twister extends AirAbility<TwisterConfig> implements ComboAbility {
|
||||||
|
|
||||||
if (this.bPlayer.isAvatarState()) {
|
if (this.bPlayer.isAvatarState()) {
|
||||||
this.cooldown = 0;
|
this.cooldown = 0;
|
||||||
this.damage = config.AvatarState_Height;
|
this.twisterHeight = config.AvatarState_Height;
|
||||||
this.range = config.AvatarState_Range;
|
this.range = config.AvatarState_Range;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@ public class ChiPropertiesConfig implements Config {
|
||||||
|
|
||||||
public final String Description = "";
|
public final String Description = "";
|
||||||
|
|
||||||
public final double BlockChiChance = 0;
|
public final double BlockChiChance = 25;
|
||||||
public final long BlockChiDuration = 0;
|
public final long BlockChiDuration = 1000;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
|
|
Loading…
Reference in a new issue