v0.2.4d: fixed quirks with wand targeting
This commit is contained in:
parent
60076db78c
commit
cf298acb17
|
@ -425,8 +425,9 @@ public abstract class Wand extends KindOfWeapon {
|
|||
|
||||
final int cell = Ballistica.cast( curUser.pos, target, true, curWand.hitChars );
|
||||
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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user