mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Siphoning spell should stay angry for as long as there are entities still inside it
This commit is contained in:
parent
6d3d8051fe
commit
c188b9c7cb
1 changed files with 1 additions and 3 deletions
|
@ -89,11 +89,9 @@ public class SiphoningSpell extends AbstractPlacedSpell {
|
|||
setDead();
|
||||
} else {
|
||||
e.damage(damage, e.getHealth() / 4);
|
||||
}
|
||||
if (maxHealthGain <= 0) {
|
||||
ticksUpset = 100;
|
||||
setDirty();
|
||||
}
|
||||
setDirty();
|
||||
} else {
|
||||
e.heal((float)Math.min(0.5F * (1 + source.getLevel().get()), maxHealthGain * 0.6));
|
||||
ParticleUtils.spawnParticle(new FollowingParticleEffect(UParticles.HEALTH_DRAIN, e, 0.2F), e.world, e.getPos(), Vec3d.ZERO);
|
||||
|
|
Loading…
Reference in a new issue