Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: a spoiler or a bug of magic wall
Magic walls created by the spells "build fire wall", "build bullet wall",..
can be placed on the wall or living things.
We can safely kill monsters at the other side of wall.
This Yogo's information is at
http://humpty.cs.uec.ac.jp/~yogo-n/crossfire/my_info.html
but the page is written in Japanese.
If this is a bug, then the following patch is useful.
------ 8< ------ 8= -------
*** server/spell_effect.c.bak Fri Mar 5 00:42:24 1999
--- server/spell_effect.c Fri Mar 5 00:44:19 1999
***************
*** 2189,2194 ****
--- 2189,2200 ----
char buf1[20];
int putflag=0;
if(!dir) dir=op->facing; else putflag=1;
+
+ if(blocked(op->map,op->x+freearr_x[dir],op->y+freearr_y[dir])) {
+ new_draw_info(NDI_UNIQUE, 0,op,"Something is in the way.");
+ return 0;
+ }
+
switch(spell_effect) {
case SP_BUILD_DIRECTOR:
sprintf(buf1,"director_%d",dir);
------ 8< ------ 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]