TWLan Forum
calc_moral function - Printable Version

+- TWLan Forum (https://twlan.org)
+-- Forum: Legacy (https://twlan.org/forumdisplay.php?fid=61)
+--- Forum: TWLan 1.x (DSLan) (https://twlan.org/forumdisplay.php?fid=62)
+---- Forum: Deutsche Community (https://twlan.org/forumdisplay.php?fid=65)
+----- Forum: Spielerprojekte (https://twlan.org/forumdisplay.php?fid=9)
+------ Forum: Tools und Spielerprojekte (https://twlan.org/forumdisplay.php?fid=10)
+------ Thread: calc_moral function (/showthread.php?tid=1880)



calc_moral function - hip_hop_x - 07.08.2009

Does anyone know how to use the calc_moral function ? What should be the 2 arguments, i tried some things but i wasn't able to get the correct moral.

Problem solved, jumpa explained me how to. calc_moral($def,$at)

where $def = defender points, $at = atacker points


RE: calc_moral function - agrafix - 07.08.2009

calc_moral($defender_points, $attacker_points) should do the job ;-)

~c