Fix Elites
This commit is contained in:
parent
8005448cb8
commit
a287f66df7
Binary file not shown.
@ -218,9 +218,6 @@ public class EliteMonster {
|
|||||||
}
|
}
|
||||||
},10);
|
},10);
|
||||||
willpower=0;
|
willpower=0;
|
||||||
} else
|
|
||||||
if (willpower>95) {
|
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (willpower>0) {
|
if (willpower>0) {
|
||||||
@ -617,6 +614,7 @@ public class EliteMonster {
|
|||||||
Player p = targetlist.get((int)(Math.random() * targetlist.size()));
|
Player p = targetlist.get((int)(Math.random() * targetlist.size()));
|
||||||
p.addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS,20*1,7));
|
p.addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS,20*1,7));
|
||||||
m.setTarget(p);
|
m.setTarget(p);
|
||||||
|
TwosideKeeper.log("Set new target to "+p.getName(), 2);
|
||||||
return p;
|
return p;
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user