v0.9.1: fixed combo incorrect using itself as damage source

This commit is contained in:
Evan Debenham 2020-12-10 17:57:03 -05:00
parent 692a275a55
commit 706fcd551a

View File

@ -265,7 +265,7 @@ public class Combo extends Buff implements ActionIndicator.Action {
boolean wasAlly = enemy.alignment == target.alignment;
dmg = target.attackProc(enemy, dmg);
enemy.damage( dmg, this );
enemy.damage( dmg, target );
//special effects
switch (type){