Update of /cvsroot/wpdev/xmlscripts/scripts/magic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28110/magic
Modified Files:
circle4.py gate.py runebook.py
Log Message:
recall fix
Index: runebook.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/runebook.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** runebook.py 21 Oct 2004 21:40:25 -0000 1.17
--- runebook.py 26 Oct 2004 20:43:55 -0000 1.18
***************
*** 466,469 ****
--- 466,477 ----
return False
+ # Move his pets if he has any
+ if char.player:
+ for follower in char.followers:
+ if follower.wandertype == 4 and follower.distanceto(char) < 5:
+ follower.removefromview()
+ follower.moveto(location)
+ follower.update(0)
+
char.soundeffect(0x1fc)
char.removefromview()
Index: circle4.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/circle4.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** circle4.py 26 Oct 2004 20:41:34 -0000 1.18
--- circle4.py 26 Oct 2004 20:43:54 -0000 1.19
***************
*** 172,176 ****
# Move his pets if he has any
! if char.char:
for follower in char.followers:
if follower.wandertype == 4 and follower.distanceto(char) < 5:
--- 172,176 ----
# Move his pets if he has any
! if char.player:
for follower in char.followers:
if follower.wandertype == 4 and follower.distanceto(char) < 5:
Index: gate.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/gate.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** gate.py 7 Sep 2004 23:43:03 -0000 1.3
--- gate.py 26 Oct 2004 20:43:55 -0000 1.4
***************
*** 26,29 ****
--- 26,37 ----
return
+ # Move his pets if he has any
+ if player.player:
+ for follower in player.followers:
+ if follower.wandertype == 4 and follower.distanceto(player) < 5:
+ follower.removefromview()
+ follower.moveto(location)
+ follower.update(0)
+
player.removefromview()
player.moveto(pos)
|