Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: spell of regeneration



The spell of regeneration adds player's hitpoint regeneration.
But it doesn't work fine.
This bug report and following patch is S.Yoshioka's work.

------ 8< ------- 8= ---------

*** common/living.c.org	Mon Feb 22 18:08:03 1999
--- common/living.c	Mon Feb 22 18:11:32 1999
***************
*** 932,940 ****
  		  || (tmp->type == ARMOUR) || (tmp->type == HELMET)
  		  || (tmp->type == SHIELD) || (tmp->type == RING)
  		  || (tmp->type == BOOTS) || (tmp->type == GLOVES)
! 		  || (tmp->type == AMULET ) || (tmp->type == GIRDLE)
! 				|| (tmp->type == BRACERS ) || (tmp->type == CLOAK) 
! 				||(tmp->type == DISEASE)){
  			op->contr->digestion += tmp->stats.food;
  			op->contr->gen_hp += tmp->stats.hp;
  			op->contr->gen_sp += tmp->stats.sp;
--- 932,940 ----
  		  || (tmp->type == ARMOUR) || (tmp->type == HELMET)
  		  || (tmp->type == SHIELD) || (tmp->type == RING)
  		  || (tmp->type == BOOTS) || (tmp->type == GLOVES)
! 		  || (tmp->type == AMULET) || (tmp->type == GIRDLE)
! 		  || (tmp->type == BRACERS) || (tmp->type == CLOAK) 
! 		  || (tmp->type == DISEASE) || (tmp->type == FORCE)) {
  			op->contr->digestion += tmp->stats.food;
  			op->contr->gen_hp += tmp->stats.hp;
  			op->contr->gen_sp += tmp->stats.sp;

---------- 8< -------- 8= --------

--------
--------------------------------------------------------------------------
Seikoh Nishita		      |	Dep't. of Information & Computer Sciences
			      |	Faculty of Engineering Science
[e-mail]		      |	Osaka University
s-nisita@ics.es.osaka-u.ac.jp |	Toyonaka, Osaka 560, Japan



-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]