quickfix: sitting
if other is sitting then we are to hit max damage. we did not count max damage, what is actually the top of the makerandomint.. so the damage calculation splits up into two lines
Code:
max_dmg=(weapon_damage * ((GetSTR()*20) + (GetSkill(OFFENSE)*15) + (mylevel*10)) / 1000);
damage=MakeRandomInt(1,max_dmg+eleBane);
and so we set up the variable max_dmg for the sitting damage (what is not makerandomint, but damage=max_dmg+elebane).