Update of /cvsroot/wpdev/xmlscripts/scripts/system
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5513/system
Modified Files:
poison.py
Log Message:
fixes
Index: poison.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/poison.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** poison.py 25 Aug 2004 17:03:06 -0000 1.6
--- poison.py 27 Oct 2004 14:06:33 -0000 1.7
***************
*** 87,90 ****
--- 87,96 ----
return
+ # Check for poison immunity
+ poison_immunity = char.getintproperty('poison_immunity', -1)
+
+ if poison_immunity != -1 and level <= poison_immunity:
+ return # Do nothing. We're immune to that kind of poison
+
# Delete current poison
char.dispel(None, 1, "poison_timer", [])
|