mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 11:36:43 +01:00
Added some incentive for changelings to seek out players
This commit is contained in:
parent
35ffa71271
commit
a7c81197a8
1 changed files with 9 additions and 0 deletions
|
@ -141,6 +141,15 @@ public class PowerFeed implements IPower<Hit> {
|
|||
living.addPotionEffect(new PotionEffect(MobEffects.WITHER, 20, 1));
|
||||
}
|
||||
|
||||
if (living instanceof EntityPlayer) {
|
||||
damage ++;
|
||||
damage *= 1.6F;
|
||||
|
||||
if (!changeling.isPotionActive(MobEffects.HEALTH_BOOST)) {
|
||||
changeling.addPotionEffect(new PotionEffect(MobEffects.HEALTH_BOOST, 13000, 1));
|
||||
}
|
||||
}
|
||||
|
||||
return damage;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue