mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 22:44:11 +07:00
Fixed crux units being deactivated in sandbox
This commit is contained in:
parent
2526224820
commit
8234eec7fc
@ -727,7 +727,7 @@ public class UnitTypes implements ContentList{
|
||||
weapons.add(new Weapon("heal-weapon-mount"){{
|
||||
y = -2.5f;
|
||||
x = 3.5f;
|
||||
reload = 34f;
|
||||
reload = 30f;
|
||||
ejectEffect = Fx.none;
|
||||
recoil = 2f;
|
||||
shootSound = Sounds.pew;
|
||||
@ -736,11 +736,11 @@ public class UnitTypes implements ContentList{
|
||||
inaccuracy = 15f;
|
||||
alternate = true;
|
||||
|
||||
bullet = new MissileBulletType(4f, 10){{
|
||||
bullet = new MissileBulletType(4f, 12){{
|
||||
homingPower = 0.08f;
|
||||
weaveMag = 4;
|
||||
weaveScale = 4;
|
||||
lifetime = 50f;
|
||||
lifetime = 56f;
|
||||
keepVelocity = false;
|
||||
shootEffect = Fx.shootHeal;
|
||||
smokeEffect = Fx.hitLaser;
|
||||
|
@ -36,7 +36,7 @@ public class Units{
|
||||
|
||||
public static int getCap(Team team){
|
||||
//wave team has no cap
|
||||
if((team == state.rules.waveTeam && state.rules.waves) || (state.isCampaign() && team == state.rules.waveTeam)){
|
||||
if((team == state.rules.waveTeam && !state.rules.pvp) || (state.isCampaign() && team == state.rules.waveTeam)){
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
return state.rules.unitCap + indexer.getExtraUnits(team);
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
Loading…
Reference in New Issue
Block a user