Changed weapon grade bonus heal calculation.

This commit is contained in:
MobiusDevelopment
2019-06-11 09:28:44 +00:00
parent 95a184b927
commit 1cd1c00b9c
14 changed files with 14 additions and 14 deletions

View File

@@ -98,7 +98,7 @@ public final class Heal extends AbstractEffect
final ItemInstance weaponInst = effector.getActiveWeaponInstance();
if (weaponInst != null)
{
mAtkMul = weaponInst.getItem().getCrystalType() == CrystalType.S84 ? 4 : weaponInst.getItem().getCrystalType() == CrystalType.S80 ? 2 : 1;
mAtkMul = weaponInst.getItem().getCrystalTypePlus() == CrystalType.R ? 4 : weaponInst.getItem().getCrystalTypePlus() == CrystalType.S ? 2 : 1;
}
// shot dynamic bonus
mAtkMul = bss ? mAtkMul * 4 : mAtkMul + 1;

View File

@@ -94,7 +94,7 @@ public final class HpCpHeal extends AbstractEffect
final ItemInstance weaponInst = effector.getActiveWeaponInstance();
if (weaponInst != null)
{
mAtkMul = weaponInst.getItem().getCrystalType() == CrystalType.S84 ? 4 : weaponInst.getItem().getCrystalType() == CrystalType.S80 ? 2 : 1;
mAtkMul = weaponInst.getItem().getCrystalTypePlus() == CrystalType.R ? 4 : weaponInst.getItem().getCrystalTypePlus() == CrystalType.S ? 2 : 1;
}
// shot dynamic bonus
mAtkMul = bss ? mAtkMul * 4 : mAtkMul + 1;