Fix for thrown weapons hitting self

This commit is contained in:
Uleat 2019-06-19 17:47:24 -04:00
parent c74c46263a
commit 0541eec8bf

View File

@ -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) ||