[wpdev-commits] xmlscripts/scripts/magic circle7.py,1.6,1.7
Brought to you by:
rip,
thiagocorrea
From: Ki H. P. <kh...@us...> - 2004-07-18 08:57:06
|
Update of /cvsroot/wpdev/xmlscripts/scripts/magic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15703/scripts/magic Modified Files: circle7.py Log Message: 'mass dispell' now dispells field spells too. i don't know if 'dispell' can dispell field spells. FIXME : i don't know the formular for dispell chance. Index: circle7.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/circle7.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** circle7.py 13 Jun 2004 12:23:05 -0000 1.6 --- circle7.py 18 Jul 2004 08:56:52 -0000 1.7 *************** *** 271,277 **** continue ! wolfpack.effect(0x3728, target.pos, 8, 20) ! target.soundeffect(0x201) ! target.delete() class MeteorSwarm (Spell): --- 271,288 ---- continue ! if self.checkresist(char, tgarget): ! target.effect(0x3779, 10, 20) ! else: ! wolfpack.effect(0x3728, target.pos, 8, 20) ! target.soundeffect(0x201) ! target.delete() ! ! # Field spells ! items = wolfpack.items(target.x, target.y, char.pos.map, 8) ! for item in items: ! if target.hastag('dispellable_field'): ! wolfpack.effect(0x376a, target.pos, 9, 20) ! target.soundeffect(0x201) ! target.delete() class MeteorSwarm (Spell): |