V0.2.0: Corrected a bug with boomerang and Ring of Sharpshooting
This commit is contained in:
parent
b3069feee9
commit
5eea9c6cfc
|
@ -64,7 +64,7 @@ public class MissileWeapon extends Weapon {
|
||||||
} else {
|
} else {
|
||||||
if (!curUser.shoot( enemy, this )) {
|
if (!curUser.shoot( enemy, this )) {
|
||||||
miss( cell );
|
miss( cell );
|
||||||
} else {
|
} else if (!(this instanceof Boomerang)){
|
||||||
int bonus = 0;
|
int bonus = 0;
|
||||||
for (Buff buff : curUser.buffs(RingOfSharpshooting.Aim.class)) {
|
for (Buff buff : curUser.buffs(RingOfSharpshooting.Aim.class)) {
|
||||||
bonus += ((RingOfSharpshooting.Aim)buff).level;
|
bonus += ((RingOfSharpshooting.Aim)buff).level;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user