Hi,
i want to create a Stat, which shows the percentage the big blind resteals a steal attempt just from the small blind.
To do this i was looking at the standard "Raise BB Steal Att" which shows the percentage the BB resteals an steal attempt from CU,BU or SB, and tried to modify it for my needs, but that is not so easy as i thought.
Rasie BB Steal Att calculates: (cnt_bb_steal_raise / cnt_steal_def_opp_bb)*100
cnt_bb_steal_raise calculates: sum(if[ holdem_hand_player_statistics.flg_blind_b AND holdem_hand_player_statistics.flg_blind_def_opp AND holdem_hand_player_statistics.cnt_p_raise > 0,1,0])
Player has to be BB, has to be in a blind defending position (here is the problem) and the last condition is that there has to be at least 1 raise (iam not sure here, does it cound all raises or just from the player?)
I think i have to either modify "holdem_hand_player_statistics.flg_blind_def_opp" to just consider SB steal attemts
OR
i have to add another condition, something which includes the agressor position: aggressor_pos = 9 but iam not sure if this works because of the last condition: cnt_p_raise, i do not know what this counts.
If i solve the problem for the "cnt_bb_steal_raise" i think i can do the same for the "cnt_steal_def_opp_bb" but first i need your help :)
