Give shurikens more slowdown. They're now really close range, and it's awesome. :D

This commit is contained in:
Bernhard Bonigl committed 2014-10-06 00:04:01 +02:00
1 parent 2370b0cc35
commit f3fcee2d61
2 files changed
+6

No files matched your search

@@ -33,6 +33,7 @@ public class ArrowEntity extends ProjectileBase {
@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();
}
@@ -52,6 +52,11 @@ public class ShurikenEntity extends ProjectileBase {
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;