Less pierce damage for shocked status
This commit is contained in:
@@ -71,7 +71,10 @@ public class StatusEffects{
|
||||
|
||||
init(() -> {
|
||||
affinity(shocked, (unit, result, time) -> {
|
||||
unit.damagePierce(transitionDamage);
|
||||
float pierceFraction = 0.3f;
|
||||
|
||||
unit.damagePierce(transitionDamage * pierceFraction);
|
||||
unit.damage(transitionDamage * (1f - pierceFraction));
|
||||
if(unit.team == state.rules.waveTeam){
|
||||
Events.fire(Trigger.shock);
|
||||
}
|
||||
|
||||
@@ -252,7 +252,7 @@ public class UnitTypes{
|
||||
}};
|
||||
|
||||
reign = new UnitType("reign"){{
|
||||
speed = 0.35f;
|
||||
speed = 0.4f;
|
||||
hitSize = 26f;
|
||||
rotateSpeed = 1.65f;
|
||||
health = 24000;
|
||||
|
||||
Reference in New Issue
Block a user