v0.2.4d: fixed quirks with wand targeting
This commit is contained in:
@@ -425,8 +425,9 @@ public abstract class Wand extends KindOfWeapon {
|
|||||||
|
|
||||||
final int cell = Ballistica.cast( curUser.pos, target, true, curWand.hitChars );
|
final int cell = Ballistica.cast( curUser.pos, target, true, curWand.hitChars );
|
||||||
curUser.sprite.zap( cell );
|
curUser.sprite.zap( cell );
|
||||||
|
|
||||||
QuickSlotButton.target(Actor.findChar(cell));
|
//targets the enemy hit for char-hitting wands, or the cell aimed at for other wands.
|
||||||
|
QuickSlotButton.target(Actor.findChar(curWand.hitChars ? cell : target));
|
||||||
|
|
||||||
if (curWand.curCharges > 0) {
|
if (curWand.curCharges > 0) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user