mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
Javelins now can be used properly as melee and ranged weapons
This commit is contained in:
1 parent
62904b92dc
commit
9d7d33fea3
4 files changed
+44
-2
No files matched your search
@@ -123,7 +123,7 @@ public class Javelin extends AmmoWeapon {
|
||||
case 0:
|
||||
return "_javelin_head";
|
||||
case 1:
|
||||
return ""; // no broken, since it runs out of ammo
|
||||
return "_javelin_head_broken"; // no broken, since it runs out of ammo
|
||||
case 2:
|
||||
return "_javelin_handle";
|
||||
case 3:
|
||||
@@ -145,7 +145,12 @@ public class Javelin extends AmmoWeapon {
|
||||
|
||||
@Override
|
||||
public float getAmmoModifier() {
|
||||
return 0.02f;
|
||||
return 0.2f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getDurabilityModifier() {
|
||||
return 0.1f;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user