Skip to content

Commit

Permalink
Fixed issues with blocking allied touch spells
Browse files Browse the repository at this point in the history
  • Loading branch information
Vek17 committed Jun 7, 2022
1 parent c5984b1 commit 28f0215
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class TricksterParryTTT : UnitFactComponentDelegate,
}

public void OnEventDidTrigger(RuleAttackRoll evt) {
if (!evt.IsHit || evt.IsFake) {
if (!evt.IsHit || evt.IsFake || evt.Initiator.IsAlly(evt.Target)) {
return;
}
int dc = evt.D20 + evt.AttackBonus;
Expand Down

0 comments on commit 28f0215

Please sign in to comment.