Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Another patch for my spell patch.
- To: crossfire (at) ifi.uio.no
- Subject: Another patch for my spell patch.
- From: Rupert G. Goldie <>
- Date: Tue, 13 Oct 92 10:01:11 EST
I'm afraid I found another bug in my spell patch. This fixes the problem with
potions not working.
-Rupert
----------------------------cut here 8<--------------------------------------
*** /tmp/T0a01239 Mon Oct 12 19:29:24 1992
--- living.c Mon Oct 12 19:05:10 1992
***************
*** 37,43 ****
if(tmp->type==POTION) {
for(j=0;j<6;j++)
if(get_attr_value(&(tmp->stats),j) && ((real_value(op,j)+
! flag*get_attr_value(&(tmp->stats),j)) > classbonus[op->contr->face][j]))
return 0;
} else {
for(j=0;j<6;j++)
--- 37,43 ----
if(tmp->type==POTION) {
for(j=0;j<6;j++)
if(get_attr_value(&(tmp->stats),j) && ((real_value(op,j)+
! flag*get_attr_value(&(tmp->stats),j)) > 20+classbonus[op->contr->face][j]))
return 0;
} else {
for(j=0;j<6;j++)