v0.6.1: corrected weapon enchants when used by the sad ghost

This commit is contained in:
Evan Debenham
2017-07-22 13:56:00 -04:00
committed by Evan Debenham
parent 25ee9d1401
commit b1f6c2dde3

View File

@@ -531,7 +531,7 @@ public class DriedRose extends Artifact {
@Override
public int attackProc(Char enemy, int damage) {
if (rose != null && rose.weapon != null) {
return rose.weapon.proc( enemy, this, damage );
return rose.weapon.proc( this, enemy, damage );
} else {
return super.attackProc(enemy, damage);
}