Skip to content

Commit

Permalink
im an idiot, i was simulating the mana drain for guardian orb
Browse files Browse the repository at this point in the history
  • Loading branch information
CammiePone committed Jan 11, 2024
1 parent f0ef986 commit 5d93f51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public static final class SpellShapes {

@ConfigEntry(id = "baseManaDrain", type = EntryType.DOUBLE, translation = "config." + Arcanus.MOD_ID + ".baseManaDrain")
@DoubleRange(min = 0, max = 200)
public static double baseManaDrain = 2;
public static double baseManaDrain = 3;
}

@Category(id = "aggressorbShapeProperties", translation = "config." + Arcanus.MOD_ID + ".aggressorbShapeProperties") public static final class AggressorbShapeProperties {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void tick() {
getWorld().addParticle(ParticleTypes.END_ROD, getX(), getY() + getHeight() / 2, getZ(), vel.getX(), vel.getY(), vel.getZ());
}

if(age % 100 == 0 && ArcanusComponents.drainMana(caster, ArcanusConfig.SpellShapes.GuardianOrbShapeProperties.baseManaDrain * effects.size(), true)) {
if(age % 100 == 0 && ArcanusComponents.drainMana(caster, ArcanusConfig.SpellShapes.GuardianOrbShapeProperties.baseManaDrain * effects.size(), false)) {
EntityHitResult hitResult = new EntityHitResult(target);

for(SpellEffect effect : new HashSet<>(effects))
Expand Down

0 comments on commit 5d93f51

Please sign in to comment.