fix unaffect command

Login to reply  Page: « < 1 of 1 > »
17 Jun 2010 - 04:302722
fix unaffect command

 	while (vict->affected)
	  affect_remove(vict, vict->affected);
    for(taeller=0; taeller < AF_ARRAY_MAX; taeller++)
-      AFF_FLAGS(ch)[taeller] = 0;
+      AFF_FLAGS(vict)[taeller] = 0;
    send_to_char(vict, "There is a brief flash of light!\r\nYou feel slightly different.\r\n");
	send_to_char(ch, "All spells removed.\r\n");


18 Jun 2010 - 02:022733
Thanks, added.


__________________
Rumble
The Builder Academy
tbamud.com 9091
Login to reply  Page: « < 1 of 1 > »