Correct Bullet#scaleVelocity documentation

This commit is contained in:
Anuken
2021-07-06 11:10:11 -04:00
parent 481881aa8b
commit 5693605f31
3 changed files with 3 additions and 2 deletions

View File

@@ -2155,6 +2155,7 @@ public class UnitTypes implements ContentList{
bullet = new EmpBulletType(){{
float rad = 100f;
scaleVelocity = true;
lightOpacity = 0.7f;
unitDamageScl = 0.8f;
healPercent = 20f;

View File

@@ -93,7 +93,7 @@ public class BulletType extends Content implements Cloneable{
public boolean collides = true;
/** Whether velocity is inherited from the shooter. */
public boolean keepVelocity = true;
/** Whether to scale velocity to disappear at the target position. Used for artillery. */
/** Whether to scale lifetime (not actually velocity!) to disappear at the target position. Used for artillery. */
public boolean scaleVelocity;
/** Whether this bullet can be hit by point defense. */
public boolean hittable = true;