Fix Defenders damaging each other from defending.

This commit is contained in:
sigonasr2 2016-08-14 22:08:22 -05:00
parent e779ccb420
commit 83b6b419b7
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -1674,7 +1674,7 @@ public class NewCombat {
Player check = partymembers.get(i); Player check = partymembers.get(i);
if (PartyManager.IsInSameParty(p, check)) { if (PartyManager.IsInSameParty(p, check)) {
TwosideKeeper.log("In here",5); TwosideKeeper.log("In here",5);
if (GenericFunctions.isDefender(check) && if (!GenericFunctions.isDefender(p) && GenericFunctions.isDefender(check) &&
check.isBlocking() && check.isBlocking() &&
!p.equals(check)) { !p.equals(check)) {
//This is a defender. Transfer half the damage to them! //This is a defender. Transfer half the damage to them!