[wpdev-commits] xmlscripts/scripts/combat aos.py,1.14,1.15
Brought to you by:
rip,
thiagocorrea
From: Ki H. P. <kh...@us...> - 2004-06-20 20:10:02
|
Update of /cvsroot/wpdev/xmlscripts/scripts/combat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30574/xmlscripts/scripts/combat Modified Files: aos.py Log Message: poisoning script Index: aos.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/combat/aos.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** aos.py 16 Jun 2004 20:18:43 -0000 1.14 --- aos.py 20 Jun 2004 20:09:53 -0000 1.15 *************** *** 8,11 **** --- 8,12 ---- from math import floor, ceil from system.debugging import DEBUG_COMBAT_INFO + from skills import poisoning # *************** *** 318,321 **** --- 319,325 ---- # Wear out the weapon if weapon: + # poisoning + if weapon.hastag( 'poisoning_uses' ): + poisoning.hitEffect( defender, weapon ) # 4% chance for losing one hitpoint if 0.04 >= random.random(): |