Added dynamic status for custom speed/health/etc

This commit is contained in:
Anuken
2023-10-31 11:24:03 -04:00
parent 968fa2f9b1
commit e5047d752d
6 changed files with 139 additions and 12 deletions

View File

@@ -6,6 +6,9 @@ public class StatusEntry{
public StatusEffect effect;
public float time;
//all of these are for the dynamic effect only!
public float damageMultiplier = 1f, healthMultiplier = 1f, speedMultiplier = 1f, reloadMultiplier = 1f, buildSpeedMultiplier = 1f, dragMultiplier = 1f, armorOverride = -1f;
public StatusEntry set(StatusEffect effect, float time){
this.effect = effect;
this.time = time;