Fix Defenders damaging each other from defending.
This commit is contained in:
parent
e779ccb420
commit
83b6b419b7
Binary file not shown.
@ -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!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user