Some last small changes.
This commit is contained in:
parent
55a1c311bf
commit
625f7d3168
@ -89,18 +89,18 @@ public class SnowFight extends TeamGame
|
|||||||
{
|
{
|
||||||
super(manager, GameType.SnowFight,
|
super(manager, GameType.SnowFight,
|
||||||
|
|
||||||
new Kit[]
|
new Kit[]
|
||||||
{
|
{
|
||||||
new KitSportsman(manager),
|
new KitSportsman(manager),
|
||||||
new KitTactician(manager),
|
new KitTactician(manager),
|
||||||
new KitMedic(manager)
|
new KitMedic(manager)
|
||||||
},
|
},
|
||||||
|
|
||||||
new String[]
|
new String[]
|
||||||
{
|
{
|
||||||
"Just like... kill your enemies. with snow.",
|
"Just like... kill your enemies. with snow.",
|
||||||
"Be careful if you are on Ice your body will freeze"
|
"Be careful if you are on Ice your body will freeze"
|
||||||
});
|
});
|
||||||
|
|
||||||
this.HungerSet = 20;
|
this.HungerSet = 20;
|
||||||
this.CompassEnabled = true;
|
this.CompassEnabled = true;
|
||||||
@ -143,7 +143,7 @@ public class SnowFight extends TeamGame
|
|||||||
{
|
{
|
||||||
if(IsOnIce(player))
|
if(IsOnIce(player))
|
||||||
{
|
{
|
||||||
Bukkit.getPluginManager().callEvent(new CustomDamageEvent(player, null, null, DamageCause.CUSTOM, 4.0D, false, true, true, "Ice", "Ice", false));
|
Bukkit.getPluginManager().callEvent(new CustomDamageEvent(player, null, null, DamageCause.CUSTOM, 2.0D, false, true, true, "Ice", "Ice", false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ public class KitMedic extends Kit
|
|||||||
"Right-Click Snowballs to throw them.",
|
"Right-Click Snowballs to throw them.",
|
||||||
" ",
|
" ",
|
||||||
"Gets 1 Healing Potion every 32 seconds [max. 1]",
|
"Gets 1 Healing Potion every 32 seconds [max. 1]",
|
||||||
"Causes Regeneration II and Slowness II when hit.",
|
"Slowness II when hit.",
|
||||||
" ",
|
" ",
|
||||||
"Supports all nearby allies with REGENERATION."
|
"Supports all nearby allies with REGENERATION."
|
||||||
},
|
},
|
||||||
@ -104,7 +104,7 @@ public class KitMedic extends Kit
|
|||||||
if(!Manager.GetGame().IsLive())
|
if(!Manager.GetGame().IsLive())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (event.getType() == UpdateType.SLOWER)
|
if (event.getType() == UpdateType.SLOWEST)
|
||||||
{
|
{
|
||||||
for (Player player : Manager.GetGame().GetPlayers(true))
|
for (Player player : Manager.GetGame().GetPlayers(true))
|
||||||
{
|
{
|
||||||
|
@ -41,7 +41,7 @@ public class KitSportsman extends Kit
|
|||||||
|
|
||||||
new Perk[]
|
new Perk[]
|
||||||
{
|
{
|
||||||
new PerkFallDamage(5)
|
new PerkFallDamage(3)
|
||||||
},
|
},
|
||||||
EntityType.SKELETON,
|
EntityType.SKELETON,
|
||||||
new ItemStack(Material.SNOW_BALL));
|
new ItemStack(Material.SNOW_BALL));
|
||||||
|
Loading…
Reference in New Issue
Block a user