Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF 0.91.7-patch speed+1 rings
- To: crossfire (at) ifi.uio.no
- Subject: CF 0.91.7-patch speed+1 rings
- From: Tero Jyri Michael Pelander <>
- Date: Tue, 31 Jan 1995 04:44:14 +0200 (EET)
When using only items that give speed+1 (not speed+2 or greater)
you are actually moving slower then without the ring. Only when
you are carrying much weight you are faster with the ring as it
gives you the minimum speed.
*** common/living.OLD Tue Jan 31 04:18:35 1995
--- common/living.c Tue Jan 31 04:22:40 1995
***************
*** 783,790 ****
SET_FLAG(op,FLAG_XRAYS);
if(tmp->stats.exp) {
if(tmp->stats.exp > 0) {
! added_speed+=(float)tmp->stats.exp-(float)tmp->stats.exp/3.0 - 1.0;
! bonus_speed+=1.0+(float)tmp->stats.exp/3.0;
} else
added_speed+=(float)tmp->stats.exp;
}
--- 783,790 ----
SET_FLAG(op,FLAG_XRAYS);
if(tmp->stats.exp) {
if(tmp->stats.exp > 0) {
! added_speed+=((float)(2*tmp->stats.exp-2))/3.0;
! bonus_speed+=((float)(tmp->stats.exp+2))/3.0;
} else
added_speed+=(float)tmp->stats.exp;
}