Class HitHelper
- Namespace
- Nekoyume.Battle
- Assembly
- Lib9c.dll
public static class HitHelper
- Inheritance
-
HitHelper
- Inherited Members
-
Fields
GetHitStep1CorrectionMax
public const long GetHitStep1CorrectionMax = 50
Field Value
- long
GetHitStep1CorrectionMin
public const long GetHitStep1CorrectionMin = -5
Field Value
- long
GetHitStep1LevelDiffMax
public const long GetHitStep1LevelDiffMax = 10
Field Value
- long
GetHitStep1LevelDiffMin
public const long GetHitStep1LevelDiffMin = -14
Field Value
- long
GetHitStep2AdditionalCorrectionMax
public const long GetHitStep2AdditionalCorrectionMax = 50
Field Value
- long
GetHitStep2AdditionalCorrectionMin
public const long GetHitStep2AdditionalCorrectionMin = 0
Field Value
- long
GetHitStep3CorrectionMax
public const long GetHitStep3CorrectionMax = 90
Field Value
- long
GetHitStep3CorrectionMin
public const long GetHitStep3CorrectionMin = 10
Field Value
- long
Methods
GetHitStep1(long, long)
public static long GetHitStep1(long attackerLevel, long defenderLevel)
Parameters
attackerLevel
long
defenderLevel
long
Returns
- long
GetHitStep2(long, long)
public static long GetHitStep2(long attackerHit, long defenderHit)
Parameters
attackerHit
long
defenderHit
long
Returns
- long
GetHitStep3(long)
public static long GetHitStep3(long correction)
Parameters
correction
long
Returns
- long
GetHitStep4(long, long)
public static bool GetHitStep4(long lowLimitChance, long correction)
Parameters
lowLimitChance
long
correction
long
Returns
- bool
IsHit(long, long, long, long, long)
public static bool IsHit(long attackerLevel, long attackerHit, long defenderLevel, long defenderHit, long lowLimitChance)
Parameters
attackerLevel
long
attackerHit
long
defenderLevel
long
defenderHit
long
lowLimitChance
long
Returns
- bool
IsHitWithoutLevelCorrection(long, long, long, long, long)
public static bool IsHitWithoutLevelCorrection(long attackerLevel, long attackerHit, long defenderLevel, long defenderHit, long lowLimitChance)
Parameters
attackerLevel
long
attackerHit
long
defenderLevel
long
defenderHit
long
lowLimitChance
long
Returns
- bool