public float CalculateElementalDamageMultiplier(int myLightning, int myFire, int myIce, int targetLightning, int targetFire, int targetIce)
{
var result = 0f;
// Element vs Element
result -= Math.Min(myLightning, targetLightning);
result -= Math.Min(myFire, targetFire);
result -= Math.Min(myIce, targetIce);
// Fire >> Ice
result += Math.Min(myFire, targetIce);
// Ice >> Fire
result += Math.Min(myIce, targetFire);
// Ice > Lightning
result += Math.Min(myIce, targetLightning) / 3f;
// Lightning > Ice
result += Math.Min(myLightning, targetIce) / 3f;
return 1f + (result / 9f);
}