Definition at line 1 of file catchingcontexttraps.c.
◆ AdjustBaitItemChance()
| float CatchingContextTrapsBase::AdjustBaitItemChance |
( |
EntityAI | item | ) |
|
|
protected |
Allows for adjustment of all catch probabilities from item qualities (damage, qty...)
Definition at line 83 of file catchingcontexttraps.c.
◆ ClearCatchingItemData()
| void CatchingContextTrapsBase::ClearCatchingItemData |
( |
| ) |
|
|
protected |
◆ CreateResultDataStructure()
| void CatchingContextTrapsBase::CreateResultDataStructure |
( |
| ) |
|
|
protected |
◆ DeserializeData()
| void CatchingContextTrapsBase::DeserializeData |
( |
Param | par | ) |
|
|
protected |
◆ Init()
| void CatchingContextTrapsBase::Init |
( |
Param | par | ) |
|
|
protected |
◆ InitCatchEnviroMask()
| void CatchingContextTrapsBase::InitCatchEnviroMask |
( |
| ) |
|
|
protected |
◆ InitItemValues()
| void CatchingContextTrapsBase::InitItemValues |
( |
EntityAI | item | ) |
|
|
protected |
◆ ModifySignalProbability()
| override bool CatchingContextTrapsBase::ModifySignalProbability |
( |
inout float | probability | ) |
|
|
protected |
◆ ReduceBaitQty()
| void CatchingContextTrapsBase::ReduceBaitQty |
( |
float | qtyNorm | ) |
|
|
protected |
◆ RemoveBait()
| void CatchingContextTrapsBase::RemoveBait |
( |
| ) |
|
|
protected |
◆ SetTrapEnviroMask()
| void CatchingContextTrapsBase::SetTrapEnviroMask |
( |
int | value | ) |
|
|
protected |
◆ SetupInitialTypes()
| void CatchingContextTrapsBase::SetupInitialTypes |
( |
| ) |
|
|
protected |
◆ UpdateBaseProbability()
| override void CatchingContextTrapsBase::UpdateBaseProbability |
( |
YieldItemBase | yItem | ) |
|
|
protected |
◆ UpdateDataAndMasks()
| void CatchingContextTrapsBase::UpdateDataAndMasks |
( |
| ) |
|
|
protected |
◆ UpdateTrapEnviroMask()
| int CatchingContextTrapsBase::UpdateTrapEnviroMask |
( |
| ) |
|
|
protected |
◆ UpdateUsedBait()
| void CatchingContextTrapsBase::UpdateUsedBait |
( |
ECatchingBaitCategories | type | ) |
|
|
protected |
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)
Definition at line 155 of file catchingcontexttraps.c.
◆ m_AttemptsCount
| int CatchingContextTrapsBase::m_AttemptsCount |
|
protected |
◆ m_Bait
| ItemBase CatchingContextTrapsBase::m_Bait |
|
protected |
◆ m_CumulativeTrappingSuccess
| float CatchingContextTrapsBase::m_CumulativeTrappingSuccess |
|
protected |
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.
Definition at line 7 of file catchingcontexttraps.c.
The documentation for this class was generated from the following file: