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(){{ bullet = new EmpBulletType(){{
float rad = 100f; float rad = 100f;
scaleVelocity = true;
lightOpacity = 0.7f; lightOpacity = 0.7f;
unitDamageScl = 0.8f; unitDamageScl = 0.8f;
healPercent = 20f; healPercent = 20f;

View File

@@ -93,7 +93,7 @@ public class BulletType extends Content implements Cloneable{
public boolean collides = true; public boolean collides = true;
/** Whether velocity is inherited from the shooter. */ /** Whether velocity is inherited from the shooter. */
public boolean keepVelocity = true; 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; public boolean scaleVelocity;
/** Whether this bullet can be hit by point defense. */ /** Whether this bullet can be hit by point defense. */
public boolean hittable = true; public boolean hittable = true;

View File

@@ -10,4 +10,4 @@ kapt.include.compile.classpath=false
kotlin.stdlib.default.dependency=false kotlin.stdlib.default.dependency=false
#needed for android compilation #needed for android compilation
android.useAndroidX=true android.useAndroidX=true
archash=ca296ad37aeca186fcef3290bb8a6e9143bdd245 archash=33c4976f8084fbb6fc26cfdcca2dda3442711d17