mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-01 14:38:55 +00:00
Update SiegeEngines.java
Fixed Ballistas
This commit is contained in:
1 parent
9e826b2e5a
commit
3e705ef227
1 file changed
+3
-3
@@ -126,7 +126,7 @@ public class SiegeEngines extends JavaPlugin {
|
||||
definedSiegeEngines.put(trebuchet.readyModelNumber, trebuchet);
|
||||
|
||||
// Ballista
|
||||
SiegeEngine ballista = new SiegeEngine("Ballista", Config.ballistaProjectiles, new ItemStack(Material.GUNPOWDER), 146);
|
||||
SiegeEngine ballista = new SiegeEngine("Ballista", Config.ballistaProjectiles, new ItemStack(Material.GUNPOWDER), 143);
|
||||
// config options
|
||||
ballista.shotAmount = Config.ballistaShotAmount;
|
||||
ballista.velocityPerFuel = Config.ballistaVelocityPerFuel;
|
||||
@@ -136,13 +136,13 @@ public class SiegeEngines extends JavaPlugin {
|
||||
|
||||
ballista.xOffset = 1;
|
||||
ballista.yOffset = 1;
|
||||
ballista.placementOffsetY = 0.0;
|
||||
ballista.placementOffsetY = -0.75;
|
||||
ballista.rotateStandHead = true;
|
||||
ballista.rotateSideways = true;
|
||||
ballista.readyModelNumber = 145;
|
||||
ballista.modelNumberToFireAt = 143;
|
||||
ballista.firingModelNumbers = new ArrayList<>(Arrays.asList(
|
||||
145, 145, 144, 144, 143
|
||||
143, 144, 145
|
||||
));
|
||||
ballista.cycleThroughModelsBeforeFiring = true;
|
||||
definedSiegeEngines.put(ballista.readyModelNumber, ballista);
|
||||
|
||||
Reference in new issue
Block a user