v0.8.2: fixed unintentionally committed debug code for elastic
This commit is contained in:
parent
7d36d73377
commit
e137098c62
|
@ -40,7 +40,7 @@ public class Elastic extends Weapon.Enchantment {
|
||||||
// lvl 2 - 43%
|
// lvl 2 - 43%
|
||||||
int level = Math.max( 0, weapon.buffedLvl() );
|
int level = Math.max( 0, weapon.buffedLvl() );
|
||||||
|
|
||||||
if (Random.Int( level + 500 ) >= 4) {
|
if (Random.Int( level + 5 ) >= 4) {
|
||||||
//trace a ballistica to our target (which will also extend past them
|
//trace a ballistica to our target (which will also extend past them
|
||||||
Ballistica trajectory = new Ballistica(attacker.pos, defender.pos, Ballistica.STOP_TARGET);
|
Ballistica trajectory = new Ballistica(attacker.pos, defender.pos, Ballistica.STOP_TARGET);
|
||||||
//trim it to just be the part that goes past them
|
//trim it to just be the part that goes past them
|
||||||
|
|
Loading…
Reference in New Issue
Block a user