From 9653380a096d2f7b565963dab19421c4ffc1a713 Mon Sep 17 00:00:00 2001 From: thmsn <9084377+thmsndk@users.noreply.github.com> Date: Tue, 23 Apr 2024 21:23:21 +0200 Subject: [PATCH] removed taunt / redirect from commence_attack --- node/server.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/node/server.js b/node/server.js index d0b62282..77965b2e 100755 --- a/node/server.js +++ b/node/server.js @@ -2959,21 +2959,6 @@ function commence_attack(attacker, target, atype, { projectile, chained, targets return { failed: true, reason: "friendly", place: atype, id: target.id }; } - // TODO: this belongs in complete attack - if (redirect) { - const targetsTarget = get_player(target.target); - if ( - target.is_monster && - target.target && - target.target !== attacker.name && - targetsTarget && - is_same(attacker, targetsTarget, 1) // checks party / account and such - ) { - stop_pursuit(target, { redirect: true, cause: `${atype} redirect` }); - target_player(target, attacker); - } - } - direction_logic(attacker, target); if (mp_cost && attacker.first && !attacker.is_npc) {