DIFF

class CatchingResultBasicSource

Constructors 1

void CatchingResultBasic(EntityAI owner)
References m_Owner

Members 6

protected EntityAI m_Owner
protected bool m_OverrideChanceActive = false

do not perform chance updates

protected bool m_OverrideQualityActive = false

overrides quality

protected float m_CatchChance = 1.0

guaranteed catch by default

protected float m_Quality = 1.0

max quality default

Methods 11

protected void SetCatchChance(float val)
References Math.Clamp(), and m_CatchChance
Referenced by UpdateCatchChance()
protected void SetQuality(float val)
References Math.Clamp(), and m_Quality
Referenced by UpdateCatchQuality()
void SetCatchChanceOverride(bool ovrd, float val = 0.0)
void SetQualityOverride(bool ovrd, float val = 0.0)
protected float RollChanceSeeded()
Referenced by RollChance()