v0.9.3: fixed shadow clones proccing the Rogue's weapon on themselves

This commit is contained in:
Evan Debenham
2021-05-31 21:47:13 -04:00
parent ccbc27fbda
commit 3d01d844b4

View File

@@ -203,7 +203,7 @@ public class ShadowClone extends ArmorAbility {
damage = super.attackProc( enemy, damage );
if (Random.Int(4) < Dungeon.hero.pointsInTalent(Talent.SHADOW_BLADE)
&& Dungeon.hero.belongings.weapon != null){
return Dungeon.hero.belongings.weapon.proc( enemy, this, damage );
return Dungeon.hero.belongings.weapon.proc( this, enemy, damage );
} else {
return damage;
}