Merge branch 'master' of ssh://dev.mineplex.com:7999/min/Mineplex
This commit is contained in:
commit
03c74aa419
|
@ -63,7 +63,7 @@ public class ParkourManager extends MiniPlugin
|
||||||
"You will need to find the correct way through",
|
"You will need to find the correct way through",
|
||||||
"the ruins, overcoming many challenging jumps.",
|
"the ruins, overcoming many challenging jumps.",
|
||||||
},
|
},
|
||||||
4000, new Location(Manager.GetSpawn().getWorld(), 115,70,-10), 50));
|
4000, new Location(Manager.GetSpawn().getWorld(), 115,70,-10), 60));
|
||||||
|
|
||||||
|
|
||||||
_parkour.add(new ParkourData("Lava Parkour", new String[]
|
_parkour.add(new ParkourData("Lava Parkour", new String[]
|
||||||
|
@ -71,7 +71,7 @@ public class ParkourManager extends MiniPlugin
|
||||||
"This parkour is HOT! It's so hot that you",
|
"This parkour is HOT! It's so hot that you",
|
||||||
"must keep sprinting for the entire course,",
|
"must keep sprinting for the entire course,",
|
||||||
"or you will die in flames!"
|
"or you will die in flames!"
|
||||||
}, 1000, new Location(Manager.GetSpawn().getWorld(), -100,60,0), 50));
|
}, 1000, new Location(Manager.GetSpawn().getWorld(), -100,60,0), 60));
|
||||||
|
|
||||||
_lavaParkourReturn = new Location(Manager.GetSpawn().getWorld(), -89.5,68,36.5);
|
_lavaParkourReturn = new Location(Manager.GetSpawn().getWorld(), -89.5,68,36.5);
|
||||||
_lavaParkourReturn.setYaw(90);
|
_lavaParkourReturn.setYaw(90);
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class KitWolf extends SmashKit
|
||||||
|
|
||||||
new Perk[]
|
new Perk[]
|
||||||
{
|
{
|
||||||
new PerkSmashStats(4, 1.6, 0.3, 4.5),
|
new PerkSmashStats(5, 1.6, 0.3, 4.5),
|
||||||
new PerkDoubleJump("Wolf Jump", 1.0, 1.0, true),
|
new PerkDoubleJump("Wolf Jump", 1.0, 1.0, true),
|
||||||
new PerkWolf(),
|
new PerkWolf(),
|
||||||
},
|
},
|
||||||
|
|
|
@ -198,7 +198,7 @@ public class Snake extends SoloGame
|
||||||
{
|
{
|
||||||
int start = 0;
|
int start = 0;
|
||||||
if (other.equals(player))
|
if (other.equals(player))
|
||||||
start = 2;
|
start = 4;
|
||||||
|
|
||||||
for (int i=start ; i < _tail.get(other).size() ; i++)
|
for (int i=start ; i < _tail.get(other).size() ; i++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class KitInvulnerable extends Kit
|
||||||
{
|
{
|
||||||
public KitInvulnerable(ArcadeManager manager)
|
public KitInvulnerable(ArcadeManager manager)
|
||||||
{
|
{
|
||||||
super(manager, "Super Snake", KitAvailability.Free,
|
super(manager, "Super Snake", KitAvailability.Blue,
|
||||||
|
|
||||||
new String[]
|
new String[]
|
||||||
{
|
{
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class PerkWolf extends Perk
|
||||||
if (!Kit.HasKit(player))
|
if (!Kit.HasKit(player))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!Recharge.Instance.use(player, "Cub Tackle", 5000, true))
|
if (!Recharge.Instance.use(player, "Cub Tackle", 8000, true))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//Get Nearest Wolf
|
//Get Nearest Wolf
|
||||||
|
@ -152,10 +152,7 @@ public class PerkWolf extends Perk
|
||||||
_tackle.put(wolf, damagee);
|
_tackle.put(wolf, damagee);
|
||||||
|
|
||||||
wolf.setVelocity(new Vector(0,-0.6,0));
|
wolf.setVelocity(new Vector(0,-0.6,0));
|
||||||
damagee.setVelocity(new Vector(0,-0.6,0));
|
damagee.setVelocity(new Vector(0,0,0));
|
||||||
|
|
||||||
//Teleport
|
|
||||||
wolf.teleport(damagee.getLocation().add(0,0.5,0));
|
|
||||||
|
|
||||||
//Damage
|
//Damage
|
||||||
Manager.GetDamage().NewDamageEvent(damagee, damager, null,
|
Manager.GetDamage().NewDamageEvent(damagee, damager, null,
|
||||||
|
@ -191,15 +188,18 @@ public class PerkWolf extends Perk
|
||||||
}
|
}
|
||||||
|
|
||||||
if (UtilMath.offset(wolf, ent) < 2.5)
|
if (UtilMath.offset(wolf, ent) < 2.5)
|
||||||
|
{
|
||||||
|
Manager.GetCondition().Factory().Slow("Cub Table", ent, wolf, 0.9, 1, false, false, false, false);
|
||||||
ent.setVelocity(new Vector(0,-0.3,0));
|
ent.setVelocity(new Vector(0,-0.3,0));
|
||||||
|
}
|
||||||
|
|
||||||
//Move
|
//Move
|
||||||
Location loc = ent.getLocation();
|
Location loc = ent.getLocation();
|
||||||
loc.add(UtilAlg.getTrajectory2d(ent, wolf).multiply(1));
|
loc.add(UtilAlg.getTrajectory2d(ent, wolf).multiply(1));
|
||||||
|
|
||||||
EntityCreature ec = ((CraftCreature)wolf).getHandle();
|
EntityCreature ec = ((CraftCreature)wolf).getHandle();
|
||||||
Navigation nav = ec.getNavigation();
|
Navigation nav = ec.getNavigation();
|
||||||
nav.a(loc.getX(), loc.getY(), loc.getZ(), 1.5);
|
nav.a(loc.getX(), loc.getY(), loc.getZ(), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@ public class PerkWolf extends Perk
|
||||||
if (!Kit.HasKit(player))
|
if (!Kit.HasKit(player))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!Recharge.Instance.use(player, "Wolf Strike", 4000, true))
|
if (!Recharge.Instance.use(player, "Wolf Strike", 8000, true))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//Velocity
|
//Velocity
|
||||||
|
@ -384,7 +384,7 @@ public class PerkWolf extends Perk
|
||||||
}
|
}
|
||||||
|
|
||||||
int count = _repeat.get(damager).size();
|
int count = _repeat.get(damager).size();
|
||||||
Manager.GetGame().Announce("Repeat: " + count);
|
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
event.AddMod(damager.getName(), "Ravage", count, false);
|
event.AddMod(damager.getName(), "Ravage", count, false);
|
||||||
|
|
Loading…
Reference in New Issue