mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-17 10:24:23 +01:00
Change attractive spell to use chaos to make it sticky
This commit is contained in:
parent
b1599c74af
commit
92fea6d349
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ public class AttractiveSpell extends ShieldSpell implements ProjectileSpell, Hom
|
|||
|
||||
@Override
|
||||
public void onImpact(MagicProjectileEntity projectile, Entity entity) {
|
||||
if (!isDead() && getTraits().get(Trait.GENEROSITY) > 0) {
|
||||
if (!isDead() && getTraits().get(Trait.CHAOS) > 0) {
|
||||
setDead();
|
||||
Caster.of(entity).ifPresent(getType().create(getTraits())::apply);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue