Skip to content

Commit

Permalink
Give shurikens more slowdown. They're now really close range, and it'…
Browse files Browse the repository at this point in the history
…s awesome. :D
  • Loading branch information
bonii-xx committed Oct 5, 2014
1 parent 2370b0c commit f3fcee2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/tconstruct/weaponry/entity/ArrowEntity.java
Expand Up @@ -33,6 +33,7 @@ protected double getStuckDepth() {
@Override
protected double getSlowdown() {
// todo: fletchling material of arrows impact
// note: not done because fletchlings also balance amount you get now. Rather use slowdown for different projectile types
return super.getSlowdown();
}

Expand Down
5 changes: 5 additions & 0 deletions src/main/java/tconstruct/weaponry/entity/ShurikenEntity.java
Expand Up @@ -52,6 +52,11 @@ protected double getGravity() {
return (this.ticksExisted/8) * 0.018d; // integer division. so the first 20 ticks it will have no gravity at all.
}

@Override
protected double getSlowdown() {
return 0.15f;
}

@Override
protected double getStuckDepth() {
return 0.8d;
Expand Down

0 comments on commit f3fcee2

Please sign in to comment.