Go to the source code of this file.
◆ AdjustBaitItemChance()
Allows for adjustment of all catch probabilities from item qualities (damage, qty...)
Definition at line 328 of file catchingcontexttraps.c.
◆ ClearCatchingItemData()
| void InitCatchMethodMask::ClearCatchingItemData |
( |
| ) |
|
|
protected |
◆ CreateResultDataStructure()
| void InitCatchMethodMask::CreateResultDataStructure |
( |
| ) |
|
|
protected |
◆ DeserializeData()
| void InitCatchMethodMask::DeserializeData |
( |
Param | par | ) |
|
|
protected |
◆ Init()
| void InitCatchMethodMask::Init |
( |
Param | par | ) |
|
|
protected |
◆ InitCatchEnviroMask()
| void InitCatchMethodMask::InitCatchEnviroMask |
( |
| ) |
|
|
protected |
◆ InitCatchMethodMask()
◆ InitItemValues()
| void InitCatchMethodMask::InitItemValues |
( |
EntityAI | item | ) |
|
|
protected |
◆ ModifySignalProbability()
| override bool InitCatchMethodMask::ModifySignalProbability |
( |
inout float | probability | ) |
|
|
protected |
◆ ReduceBaitQty()
| void InitCatchMethodMask::ReduceBaitQty |
( |
float | qtyNorm | ) |
|
|
protected |
◆ RemoveBait()
| void InitCatchMethodMask::RemoveBait |
( |
| ) |
|
|
protected |
◆ SetTrapEnviroMask()
| void InitCatchMethodMask::SetTrapEnviroMask |
( |
int | value | ) |
|
|
protected |
◆ SetupInitialTypes()
| void InitCatchMethodMask::SetupInitialTypes |
( |
| ) |
|
|
protected |
◆ UpdateBaseProbability()
| override void InitCatchMethodMask::UpdateBaseProbability |
( |
YieldItemBase | yItem | ) |
|
|
protected |
updates base probability when catching the specific item (some context subclasses only)
Definition at line 427 of file catchingcontexttraps.c.
◆ UpdateDataAndMasks()
| void InitCatchMethodMask::UpdateDataAndMasks |
( |
| ) |
|
|
protected |
◆ UpdateTrapEnviroMask()
| int InitCatchMethodMask::UpdateTrapEnviroMask |
( |
| ) |
|
|
protected |
◆ UpdateUsedBait()
| void InitCatchMethodMask::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 400 of file catchingcontexttraps.c.
◆ m_AttemptsCount
◆ m_Bait
◆ m_CumulativeTrappingSuccess
| float 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 252 of file catchingcontexttraps.c.