From 0541eec8bff4453fac7c3c224abd426c6b0e073d Mon Sep 17 00:00:00 2001 From: Uleat Date: Wed, 19 Jun 2019 17:47:24 -0400 Subject: [PATCH] Fix for thrown weapons hitting self --- zone/special_attacks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/zone/special_attacks.cpp b/zone/special_attacks.cpp index 1e38b481b..bcffa4077 100644 --- a/zone/special_attacks.cpp +++ b/zone/special_attacks.cpp @@ -1278,6 +1278,7 @@ void Client::ThrowingAttack(Mob* other, bool CanDoubleAttack) { //old was 51 } else if(dist < (RuleI(Combat, MinRangedAttackDist)*RuleI(Combat, MinRangedAttackDist))){ Message_StringID(15,RANGED_TOO_CLOSE);//Client enforces range and sends the message, this is a backup just incase. + return; } if(!IsAttackAllowed(other) ||