Fixed abort casting when player dies.
Contributed by Sahar.
This commit is contained in:
parent
f1eb56cafa
commit
f333d813ee
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
@ -119,12 +119,13 @@ public abstract class Playable extends Creature
|
||||
setDead(true);
|
||||
}
|
||||
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Set target to null and cancel Attack or Cast
|
||||
setTarget(null);
|
||||
|
||||
// Abort casting after target has been cancelled.
|
||||
abortAttack();
|
||||
abortCast();
|
||||
|
||||
// Stop movement
|
||||
stopMove(null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user