DIFF

class CatchingContextTrapsBaseSource

CatchingContextTrapsBase CatchingContextBase

All members, including inherited

Members 3

protected float m_CumulativeTrappingSuccess

after N attempts, the chance to catch should be this. Only highest one applies. @NOTE: Take care, only way to achieve guaranteed 1.0 chance at the end is to have EVERY chance at 1.0.

@var m_CumulativeTrappingSuccess

protected int m_AttemptsCount
protected ItemBase m_Bait

Methods 16

override protected void DeserializeData(Param par)
override protected void CreateResultDataStructure()
float AdjustBaitItemChance(EntityAI item)

Allows for adjustment of all catch probabilities from item qualities (damage, qty...)

References Class.CastTo()
Referenced by InitItemValues()
override protected void Init(Param par)
override protected void SetupInitialTypes()
Referenced by UpdateDataAndMasks()
void SetTrapEnviroMask(int value)
void UpdateUsedBait(ECatchingBaitCategories type)

if non-empty bait type is used, some 'Bait' attachment is picked as an active bait (currently no direct link between item and sensitivity-weighted target probability)

override bool ModifySignalProbability(inout float probability)
void RemoveBait()