Skip to content

Commit e68bb5a

Browse files
committed
fixup combat
1 parent a51dbc8 commit e68bb5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

game/world/objects/npc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,7 @@ void Npc::takeDamage(Npc &other, const Bullet* b) {
18541854

18551855
assert(b==nullptr || !b->isSpell());
18561856
const auto& pose = visual.pose();
1857-
const bool isJumpb = pose.isJumpBack() && !pose.isDefence(owner.tickCount());
1857+
const bool isJumpb = pose.isJumpBack();
18581858
const bool isBlock = (!other.isMonster() || other.inventory().activeWeapon()!=nullptr) &&
18591859
fghAlgo.isInFocusAngle(*this,other) &&
18601860
pose.isDefence(owner.tickCount());

0 commit comments

Comments
 (0)