Update of /cvsroot/wpdev/xmlscripts/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10986
Modified Files:
equipment.py
Log Message:
fixes
Index: equipment.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/equipment.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** equipment.py 27 Sep 2004 00:31:48 -0000 1.39
--- equipment.py 27 Sep 2004 09:58:34 -0000 1.40
***************
*** 83,86 ****
--- 83,90 ----
if properties.fromitem(object, MAGEARMOR):
tooltip.add(1060437, "")
+
+ selfrepair = properties.fromitem(object, SELFREPAIR)
+ if selfrepair != 0:
+ tooltip.add(1060450, str(selfrepair))
#
***************
*** 248,254 ****
tooltip.add(1060407, str(energy))
# Spell Channeling
spellchanneling = properties.fromitem(object, SPELLCHANNELING)
! if spellchanneling != 0:
tooltip.add(1060482, "")
--- 252,259 ----
tooltip.add(1060407, str(energy))
+ if weapon or shield:
# Spell Channeling
spellchanneling = properties.fromitem(object, SPELLCHANNELING)
! if spellchanneling:
tooltip.add(1060482, "")
|