->Fixed a bug causing Defenders to be hit every tick for tanking others'
attacks.
->Ghast fireballs can be reflected once again.
->Remove global attack cooldown on Elite monsters for Rangers.
->Elite Monsters now carry axes instead of swords, causing shields to go
on a cooldown.
->The Elite Monster healthbar now shows its current target next to its
name.
->Added removeNoDamageTick(damager,target) to API.
->Line Drive is more responsive and has a proper AoE Range now.
->Knockup of Line Drive reduced slightly.
->Hellfire Zombie Pigmen now behave like Hellfire Zombies in the
Overworld.
->Players can no longer be in Ranger mode while holding an equip in
their off-hand.
->Update Elite Boss mechanics.
->Elite monsters are no longer affected by portals.
->Fixed a bug where the Elite boss global attack cooldown was not being
applied.
->Fixed a bug where the Elite boss would be stuck forver in the middle
of an attack after killing someone.
->Players with the Full Ranger set will now benefit from all the set
effects regardless of the mode they are in.
targetlist.get(i).sendMessage(ChatColor.ITALIC+"The "+m.getCustomName()+ChatColor.RESET+ChatColor.ITALIC+" gains morale and the will to fight from its minions!");
}
first_willpower_notification=true;
}
if(willpower>=100){
for(inti=0;i<targetlist.size();i++){
targetlist.get(i).sendMessage(ChatColor.RED+"The "+m.getCustomName()+ChatColor.RED+" unleashes its Willpower!");
@ -2021,8 +2021,8 @@ public class GenericFunctions {
}
publicstaticbooleanisRanger(Playerp){
if(p!=null&&!p.isDead()&&(((p.getEquipment().getItemInMainHand()!=null&&p.getEquipment().getItemInMainHand().getType()==Material.BOW&&(p.getInventory().getExtraContents()[0]==null||p.getInventory().getExtraContents()[0].getType()==Material.AIR))||//Satisfy just a bow in main hand.
(p.getEquipment().getItemInMainHand()!=null&&p.getEquipment().getItemInMainHand().getType()==Material.BOW&&p.getInventory().getExtraContents()[0]!=null&&p.getInventory().getExtraContents()[0].getType()!=Material.SHIELD)||/*Satisfy a bow in main hand and no shield in off-hand.*/
(p.getEquipment().getItemInMainHand()!=null&&p.getEquipment().getItemInMainHand().getType()!=Material.SHIELD&&p.getInventory().getExtraContents()[0]!=null&&p.getInventory().getExtraContents()[0].getType()==Material.BOW)||/*Satisfy a bow in off-hand and no shield in main hand.*/
(p.getEquipment().getItemInMainHand()!=null&&p.getEquipment().getItemInMainHand().getType()==Material.BOW&&p.getInventory().getExtraContents()[0]!=null&&!isEquip(p.getInventory().getExtraContents()[0]))||/*Satisfy a bow in main hand and no shield in off-hand.*/
(p.getEquipment().getItemInMainHand()!=null&&!isEquip(p.getEquipment().getItemInMainHand())&&p.getInventory().getExtraContents()[0]!=null&&p.getInventory().getExtraContents()[0].getType()==Material.BOW)||/*Satisfy a bow in off-hand and no shield in main hand.*/
((p.getEquipment().getItemInMainHand()==null||p.getEquipment().getItemInMainHand().getType()==Material.AIR)&&p.getInventory().getExtraContents()[0]!=null&&p.getInventory().getExtraContents()[0].getType()==Material.BOW))/*Satisfy just a bow in off-hand.*/&&
AllLeatherArmor(p))){
returntrue;
@ -2475,24 +2475,22 @@ public class GenericFunctions {