EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EvEMath::Refine Namespace Reference

Functions

float StationTaxesForReprocessing (float CharacterStandingWithStationOwner)
 
float EffectiveRefiningYield (float EquipmentYield, uint8 RefiningLevel, uint8 RefiningEfficiencyLevel=9, uint8 OreProcessingLevel=0)
 

Function Documentation

float EvEMath::Refine::EffectiveRefiningYield ( float  EquipmentYield,
uint8  RefiningLevel,
uint8  RefiningEfficiencyLevel = 9,
uint8  OreProcessingLevel = 0 
)

Definition at line 142 of file EvEMath.cpp.

143 {
144  return (EquipmentYield + 0.375f * (1.0f + (RefiningLevel * 0.02f))
145  * (1.0f + (RefiningEfficiencyLevel * 0.04f)) * (1.0f + (OreProcessingLevel * 0.05f)));
146 }
float EvEMath::Refine::StationTaxesForReprocessing ( float  CharacterStandingWithStationOwner)

Definition at line 137 of file EvEMath.cpp.

138 {
139  return 5.0f - (0.75f * CharacterStandingWithStationOwner);
140 }