Correct Bullet#scaleVelocity documentation
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user