Skip to content

Commit

Permalink
projection
Browse files Browse the repository at this point in the history
  • Loading branch information
RadonCoding committed Nov 3, 2023
1 parent a0dd46c commit a3765af
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 @@ -136,7 +136,7 @@ private static boolean isGrounded(Level level, BlockPos pos) {
public void onRelease(LivingEntity owner) {
ISorcererData cap = owner.getCapability(SorcererDataHandler.INSTANCE).resolve().orElseThrow();

if (cap.getFrames().size() < 24) {
if (cap.getFrames().size() < 24 / cap.getSpeedStacks()) {
cap.resetFrames();
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public class SorcererData implements ISorcererData {
private static final float ENERGY_AMOUNT = 0.25F;
private static final int REQUIRED_ADAPTATION = 60 * 20;
private static final int ADAPTATION_STEP = 5 * 20;
private static final int MAX_PROJECTION_SORCERY_STACKS = 5;
private static final int MAX_PROJECTION_SORCERY_STACKS = 3;

public SorcererData() {
this.domainSize = 1.0F;
Expand Down

0 comments on commit a3765af

Please sign in to comment.