Dodge in Lua files

Hello Ladies & Gentleman!
I've been searching through the *.lua files for several days. I can't find any clues on how the game checks if you Dodge or not.
My guess was it is somewhere in the playerdamage.lua but I didn't find anything besides this:
if dodge_roll < dodge_value then
if attack_data.damage > 0 then
self:_send_damage_drama(attack_data, 0)
end
self:_call_listeners(damage_info)
self:play_whizby(attack_data.col_ray.position)
self:_hit_direction(attack_data.attacker_unit:position())
self._next_allowed_dmg_t = Application:digest_value(pm:player_timer():time() + self._dmg_interval, true)
self._last_received_dmg = attack_data.damage
managers.player:send_message(Message.OnPlayerDodge)
return
end
But it seems like this isn't what I'm searching for. Because I tried to print something to the BLT log if the player did dodge, but nothing happened! :O
Also tried some other things in the playerdamage.lua, no luck!
I'm fed up with searching through code & tiptoeing in the dark. I need an Adult right now!
Really hope someone got an answer, every little bit helps!
Thanks in advance!
Cheers!
Replies
I'm not into modifying values! :)
It's rather playing a function if the player dodged! Just as you said! Also thanks for the answers, I'm thinking about joining the server! Because if you say faster & better help, that's a win but I'm kinda shy! xD
I'm gonna look into all the player/manager stuff & see what I can find in the meantime! Even if it's not there, a closer look isn't a bad Idea maybe I missed something! :D
Thanks for the answer & the information about the discord!