mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-02 14:38:55 +00:00
.
This commit is contained in:
1 parent
706e60187c
commit
49ec9c788d
17 files changed
+139
-64
No files matched your search
@@ -5,9 +5,11 @@ import org.bukkit.Particle;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public interface CrunchProjectile {
|
||||
|
||||
public void Shoot(Player player, Entity entity, double XOffset, double YOffset, Float velocity);
|
||||
|
||||
public String ProjectileType = "Default";
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ import siegeCore.CrunchSiegeCore;
|
||||
|
||||
public class EntityProjectile implements CrunchProjectile{
|
||||
|
||||
public String ProjectileType = "Entity";
|
||||
public int EntityCount = 20;
|
||||
public int ArrowOnlyDamage = 6;
|
||||
public Boolean DelayedFire = false;
|
||||
|
||||
@@ -17,7 +17,8 @@ import siegeCore.ClickHandler;
|
||||
import siegeCore.CrunchSiegeCore;
|
||||
|
||||
public class ExplosiveProjectile implements CrunchProjectile {
|
||||
|
||||
|
||||
public String ProjectileType = "Explosive";
|
||||
public int ExplodePower = 2;
|
||||
public float Inaccuracy = 0.3f;
|
||||
public int ProjectilesCount = 1;
|
||||
|
||||
@@ -23,6 +23,7 @@ import org.bukkit.util.Vector;
|
||||
import siegeCore.CrunchSiegeCore;
|
||||
|
||||
public class PotionProjectile implements CrunchProjectile {
|
||||
public String ProjectileType = "Potion";
|
||||
public int EntityCount = 3;
|
||||
public Boolean DelayedFire = false;
|
||||
public int DelayTime = 6;
|
||||
|
||||
Reference in new issue
Block a user