[wpdev-commits] xmlscripts/scripts/combat aos.py,1.17,1.18
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-20 00:21:01
|
Update of /cvsroot/wpdev/xmlscripts/scripts/combat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14722/combat Modified Files: aos.py Log Message: fixed npc damage Index: aos.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/combat/aos.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** aos.py 19 Sep 2004 20:39:46 -0000 1.17 --- aos.py 20 Sep 2004 00:20:52 -0000 1.18 *************** *** 124,133 **** bonus += 10 ! # Strength bonus ! bonus += char.strength * 0.3 ! ! # If strength is above 100, grant an extra 5 percent bonus ! if char.strength >= 100: ! bonus += 5 # Anatomy bonus --- 124,135 ---- bonus += 10 ! # Only players get strength boni ! if not char.npc: ! # Strength bonus ! bonus += char.strength * 0.3 ! ! # If strength is above 100, grant an extra 5 percent bonus ! if char.strength >= 100: ! bonus += 5 # Anatomy bonus |