->Invulnerability lasts until buyback is done.

->Fixed Barbarian Set.
This commit is contained in:
sigonasr2 2016-08-16 21:36:05 -05:00
parent 173c2d539f
commit cc70abb045
4 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -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;

View File

@ -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),

View File

@ -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);