v0.7.2a: reverted unintended debug proc rate for elastic
This commit is contained in:
parent
32a65f5b2b
commit
6c44a5c801
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.shatteredpixel.shatteredpixeldungeon"
|
package="com.shatteredpixel.shatteredpixeldungeon"
|
||||||
android:versionCode="334"
|
android:versionCode="335"
|
||||||
android:versionName="0.7.2a"
|
android:versionName="0.7.2a"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ public class Elastic extends Weapon.Enchantment {
|
||||||
// lvl 2 - 43%
|
// lvl 2 - 43%
|
||||||
int level = Math.max( 0, weapon.level() );
|
int level = Math.max( 0, weapon.level() );
|
||||||
|
|
||||||
if (Random.Int( level + 5000 ) >= 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