v0.9.1: fixed combo incorrect using itself as damage source
This commit is contained in:
@@ -265,7 +265,7 @@ public class Combo extends Buff implements ActionIndicator.Action {
|
|||||||
|
|
||||||
boolean wasAlly = enemy.alignment == target.alignment;
|
boolean wasAlly = enemy.alignment == target.alignment;
|
||||||
dmg = target.attackProc(enemy, dmg);
|
dmg = target.attackProc(enemy, dmg);
|
||||||
enemy.damage( dmg, this );
|
enemy.damage( dmg, target );
|
||||||
|
|
||||||
//special effects
|
//special effects
|
||||||
switch (type){
|
switch (type){
|
||||||
|
|||||||
Reference in New Issue
Block a user