increased illusion cooldown

cleaned axethrow
This commit is contained in:
Chiss 2014-11-22 10:29:00 +11:00
parent 7bd12ab850
commit 6dfcdce027
3 changed files with 16 additions and 2 deletions

View File

@ -219,6 +219,18 @@ public class AxeThrow extends SkillActive implements IThrown
@Override @Override
public void Reset(Player player) public void Reset(Player player)
{ {
Iterator<Item> i = _thrown.keySet().iterator();
while (i.hasNext())
{
Item item = i.next();
Player thrower = _thrown.get(item);
if (player.equals(thrower))
{
i.remove();
item.remove();
}
}
} }
} }

View File

@ -171,7 +171,7 @@ public class SkillFactory extends MiniPlugin implements ISkillFactory
AddSkill(new Illusion(this, "Illusion", ClassType.Assassin, SkillType.Sword, AddSkill(new Illusion(this, "Illusion", ClassType.Assassin, SkillType.Sword,
1, 4, 1, 4,
40, -3, 40, -3,
12000, -1000, true, 40000, -3000, true,
new Material[] {Material.IRON_SWORD, Material.GOLD_SWORD, Material.DIAMOND_SWORD}, new Material[] {Material.IRON_SWORD, Material.GOLD_SWORD, Material.DIAMOND_SWORD},
new Action[] {Action.RIGHT_CLICK_AIR, Action.RIGHT_CLICK_BLOCK})); new Action[] {Action.RIGHT_CLICK_AIR, Action.RIGHT_CLICK_BLOCK}));

View File

@ -55,6 +55,8 @@ public class KitWitherMinion extends Kit
// Manager.GetDisguise().disguise(disguise); // Manager.GetDisguise().disguise(disguise);
// } // }
@Override @Override
public void GiveItems(Player player) public void GiveItems(Player player)
{ {