Balance
This commit is contained in:
@@ -919,9 +919,9 @@ public class Blocks implements ContentList{
|
|||||||
size = 3;
|
size = 3;
|
||||||
range = 200f;
|
range = 200f;
|
||||||
speedBoost = 2.5f;
|
speedBoost = 2.5f;
|
||||||
useTime = 250f;
|
useTime = 300f;
|
||||||
hasBoost = false;
|
hasBoost = false;
|
||||||
consumes.item(Items.phasefabric);
|
consumes.items(ItemStack.with(Items.phasefabric, 1, Items.silicon, 1));
|
||||||
}};
|
}};
|
||||||
|
|
||||||
forceProjector = new ForceProjector("force-projector"){{
|
forceProjector = new ForceProjector("force-projector"){{
|
||||||
@@ -1194,8 +1194,8 @@ public class Blocks implements ContentList{
|
|||||||
rtgGenerator = new DecayGenerator("rtg-generator"){{
|
rtgGenerator = new DecayGenerator("rtg-generator"){{
|
||||||
requirements(Category.power, ItemStack.with(Items.lead, 100, Items.silicon, 75, Items.phasefabric, 25, Items.plastanium, 75, Items.thorium, 50));
|
requirements(Category.power, ItemStack.with(Items.lead, 100, Items.silicon, 75, Items.phasefabric, 25, Items.plastanium, 75, Items.thorium, 50));
|
||||||
size = 2;
|
size = 2;
|
||||||
powerProduction = 3f;
|
powerProduction = 4f;
|
||||||
itemDuration = 440f;
|
itemDuration = 500f;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
solarPanel = new SolarGenerator("solar-panel"){{
|
solarPanel = new SolarGenerator("solar-panel"){{
|
||||||
@@ -1855,10 +1855,8 @@ public class Blocks implements ContentList{
|
|||||||
requirements(Category.effect, BuildVisibility.campaignOnly, ItemStack.with(Items.copper, 350, Items.silicon, 140, Items.lead, 200, Items.titanium, 150));
|
requirements(Category.effect, BuildVisibility.campaignOnly, ItemStack.with(Items.copper, 350, Items.silicon, 140, Items.lead, 200, Items.titanium, 150));
|
||||||
size = 5;
|
size = 5;
|
||||||
itemCapacity = 500;
|
itemCapacity = 500;
|
||||||
hasPower = true;
|
|
||||||
|
|
||||||
consumes.items(ItemStack.with(Items.copper, 500));
|
consumes.items(ItemStack.with(Items.copper, 500));
|
||||||
consumes.power(3f);
|
|
||||||
}};
|
}};
|
||||||
|
|
||||||
dataProcessor = new ResearchBlock("data-processor"){{
|
dataProcessor = new ResearchBlock("data-processor"){{
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ public class UnitTypes implements ContentList{
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
crawler = new UnitType("crawler"){{
|
crawler = new UnitType("crawler"){{
|
||||||
speed = 0.65f;
|
speed = 0.8f;
|
||||||
hitsize = 8f;
|
hitsize = 8f;
|
||||||
health = 120;
|
health = 120;
|
||||||
sway = 0.25f;
|
sway = 0.25f;
|
||||||
@@ -419,14 +419,21 @@ public class UnitTypes implements ContentList{
|
|||||||
hitsize = 8f;
|
hitsize = 8f;
|
||||||
|
|
||||||
weapons.add(new Weapon("small-basic-weapon"){{
|
weapons.add(new Weapon("small-basic-weapon"){{
|
||||||
reload = 25f;
|
reload = 15f;
|
||||||
x = -1f;
|
x = -1f;
|
||||||
y = -1f;
|
y = -1f;
|
||||||
shootX = 3.5f;
|
shootX = 3.5f;
|
||||||
alternate = true;
|
alternate = true;
|
||||||
ejectEffect = Fx.none;
|
|
||||||
//TODO use different ammo
|
bullet = new BasicBulletType(2.5f, 9){{
|
||||||
bullet = Bullets.standardCopper;
|
bulletWidth = 7f;
|
||||||
|
bulletHeight = 9f;
|
||||||
|
lifetime = 60f;
|
||||||
|
shootEffect = Fx.shootSmall;
|
||||||
|
smokeEffect = Fx.shootSmallSmoke;
|
||||||
|
tileDamageMultiplier = 0.15f;
|
||||||
|
ammoMultiplier = 2;
|
||||||
|
}};
|
||||||
}});
|
}});
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,11 @@ public class BasicBulletType extends BulletType{
|
|||||||
this.bulletSprite = bulletSprite;
|
this.bulletSprite = bulletSprite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public BasicBulletType(float speed, float damage){
|
||||||
|
this(speed, damage, "bullet");
|
||||||
|
}
|
||||||
|
|
||||||
/** For mods. */
|
/** For mods. */
|
||||||
public BasicBulletType(){
|
public BasicBulletType(){
|
||||||
this(1f, 1f, "bullet");
|
this(1f, 1f, "bullet");
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ public abstract class BulletType extends Content{
|
|||||||
public float ammoMultiplier = 2f;
|
public float ammoMultiplier = 2f;
|
||||||
/** Multiplied by turret reload speed to get final shoot speed. */
|
/** Multiplied by turret reload speed to get final shoot speed. */
|
||||||
public float reloadMultiplier = 1f;
|
public float reloadMultiplier = 1f;
|
||||||
|
/** Multiplier of how much base damage is done to tiles. */
|
||||||
|
public float tileDamageMultiplier = 1f;
|
||||||
/** Recoil from shooter entities. */
|
/** Recoil from shooter entities. */
|
||||||
public float recoil;
|
public float recoil;
|
||||||
/** Whether to kill the shooter when this is shot. For suicide bombers. */
|
/** Whether to kill the shooter when this is shot. For suicide bombers. */
|
||||||
|
|||||||
@@ -1037,7 +1037,7 @@ abstract class TileComp implements Posc, Teamc, Healthc, Tilec, Timerc, QuadTree
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void collision(Bulletc other){
|
public void collision(Bulletc other){
|
||||||
damage(other.damage());
|
damage(other.damage() * other.type().tileDamageMultiplier);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removeFromProximity(){
|
public void removeFromProximity(){
|
||||||
|
|||||||
Reference in New Issue
Block a user