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

CF: a patch for cone spell bug



The following is a patch for the bug of cone spell, 
which makes damages of cone wrong value.
The patch is S.Yoshioka's work.

I studied how will damages change by the patch.

spell	    	current value		->	fixed value
------------------------------------------------------------	
burning hands		4			4+(SKL-1)/4
icestorm       		4			4+(SKL-1)/3
shockwave		10			10+(SKL-14)/3
dragonbreath		4			4+(SKL-12)/3
large icestorm		4			4+(SKL-12)/3
turn undead		0			0
holy word		3			2+(SKL-1)/4
banishment		50			0 

(banishment is death strike for enemies of follower's God.)
(SKL ... skill level)



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

*** spell_util.c.org	Mon Feb 15 18:59:57 1999
--- spell_util.c	Sat Feb 20 00:48:50 1999
***************
*** 1100,1105 ****
--- 1100,1106 ----
  #endif
        tmp->stats.sp=op->stats.sp,tmp->stats.hp=op->stats.hp+1;
        tmp->stats.maxhp=op->stats.maxhp;
+       tmp->stats.dam=op->stats.dam;
        tmp->attacktype=op->attacktype;
        insert_ob_in_map(tmp,op->map);
      }

------- 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]