ShieldDamageMultiplier for bullets (#6331)
* ShieldDamageMultiplier + Dynamic damage multipliers * Add to stats * That's not right * merge typo --------- Co-authored-by: Anuken <arnukren@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ public class ForceProjector extends Block{
|
||||
bullet.absorb();
|
||||
paramEffect.at(bullet);
|
||||
paramEntity.hit = 1f;
|
||||
paramEntity.buildup += bullet.damage;
|
||||
paramEntity.buildup += bullet.type.shieldDamage(bullet);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -644,6 +644,10 @@ public class StatValues{
|
||||
sep(bt, Core.bundle.format("bullet.range", ammoStat(type.rangeChange / tilesize)));
|
||||
}
|
||||
|
||||
if(type.shieldDamageMultiplier != 1){
|
||||
sep(bt, Core.bundle.format("bullet.shielddamage", (int)(type.shieldDamageMultiplier * 100)));
|
||||
}
|
||||
|
||||
if(type.splashDamage > 0){
|
||||
sep(bt, Core.bundle.format("bullet.splashdamage", (int)type.splashDamage, Strings.fixed(type.splashDamageRadius / tilesize, 1)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user