->Invulnerability lasts until buyback is done.

->Fixed Barbarian Set.
dev
sigonasr2 9 years ago
parent 173c2d539f
commit cc70abb045
  1. BIN
      TwosideKeeper.jar
  2. 1
      src/sig/plugin/TwosideKeeper/DeathManager.java
  3. 2
      src/sig/plugin/TwosideKeeper/HelperStructures/ItemSet.java
  4. 2
      src/sig/plugin/TwosideKeeper/TwosideKeeper.java

Binary file not shown.

@ -33,6 +33,7 @@ public class DeathManager {
}
public static void removeDeathStructure(Player p) {
ds.remove(getDeathStructure(p));
p.removePotionEffect(PotionEffectType.GLOWING);
PlayerStructure pd = PlayerStructure.GetPlayerStructure(p);
pd.deathloot.clear();
pd.hasDied=false;

@ -16,7 +16,7 @@ import sig.plugin.TwosideKeeper.HelperStructures.Common.GenericFunctions;
public enum ItemSet {
PANROS(1,1, 3,2, 10,10, 20,10),
SONGSTEEL(4,2, 6,2, 8,4, 20,10),
DAWNTRACKER(4,4, 6,4, 20,10, 20,10),
DAWNTRACKER(4,4, 20,10, 20,10, 6,4),
LORASYS(0,0, 0,0, 0,0, 0,0),
JAMDAK(1,1, 3,9, 4,4, 10,5),
DARNYS(2,1, 6,13, 5,5, 10,8),

@ -4873,7 +4873,7 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
}
p.addPotionEffect(new PotionEffect(PotionEffectType.ABSORPTION,1,0),true);
p.removePotionEffect(PotionEffectType.ABSORPTION);
GenericFunctions.addIFrame(p, 20*10);
GenericFunctions.addIFrame(p, Integer.MAX_VALUE);
PlayerStructure pd = PlayerStructure.GetPlayerStructure(p);
pd.lastdeath=getServerTickTime();
log("Last death: "+pd.lastdeath, 2);

Loading…
Cancel
Save