Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: Scared monsters
- To: crossfire (at) ifi.uio.no
- Subject: CF: Scared monsters
- From: Jan Echternach <>
- Date: Tue, 13 Jun 2000 19:11:29 +0200
- Mail-Followup-To:
- Reply-To: Jan Echternach <>
- Sender:
Hi,
There are problems with monsters hitting themselves with fear spells.
For example, a Jessy wasn't casting spells most of the time. He has
"randomitems big_wizard" which includes ability_fear, therefore casting
non-magical fear spells, and he is only immune to magic, not to fear.
One possible fix is to create a new ability_fearspells.
Another solution is to change hit_player() to make it impossible that
monsters hit themselves (if the victim is the hitter's owner or
identical to the hitter, and the victim is not a player, just don't do
anything).
There are also two places in server/spell_effect.c that set FLAG_SCARED
when a monster casts a spell like "create fire wall". Maybe setting
FLAG_RUN_AWAY would be better.
--
Jan
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to ]