Hi,
I made some mods in relation with zombie.
One of them (PvZmoD Customisable Zombies) add the possibility for zombies to attack players on obstacle but since the 1.13 I have a Null message when they do so.
After investigating it is because the m_ActualAttackType = Null when I launch the attack
Maybe I don’t do it the right way but it was working in 1.12
I think the new vanilla ability for zombie to hit moving player is the cause.
I try to get an new ActualAttackType but I’m stuck because GetAttackGroup is protected
My side, I finaly found a way to avoid the Null error messages but it force me to override the FightLogic () and I’m not sure it will work for all possible cases.
So I was wandering if it would be possible to add Null check in FightLogic or make modifications with the same result or make GetAttackGroup non protected or give a workaround to “trigger” a zombie attack without Null message.
I join a file with the override I made, Lines Numb 40, 47, 66 and 70 have been modified.