>
Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Create Missile -- This won't work
- To: "tuan (t.) doan" <>
- Subject: Re: Create Missile -- This won't work
- From: Bjørn Georg Ludvigsen <bjornlu>
- Date: Wed, 2 Nov 1994 17:58:33 +0100
- Cc: , crossfire (at) ifi.uio.no
- In-Reply-To: "tuan (t.) doan" <>'s message of Mon, 31 Oct 1994 15:06:00 -0600
- References: <"26279 Mon Oct 31 16:06:44 1994"@bnr.ca>
>>No, don't do that. The code should handle everything through archetypes
>>and not hardcode things in the code. In some maps there might be special
>>bow and special arrows just for that bow, or someone can add a sling and
>>wonder why a spell can't create sling bullets.
> Well, I don't think there will be that many missiles. BOW, CROSSBOW,
>SLING, what else? And it's not that hard to track it down. With the
>structure being common across all things, it's kind of hard trying to
>figure out which fields are available.
The BoomTube of Zolga, fires comets and recharges like a rod.
Crossbows that fire lightning bolts (not your avg. lightning bolt,
but crossbow bolts made of lightning/elec.).
The point is, there ARE uses, and one should never hardcode anything
like this.
That perhaps some generic code could be written that handles all
missile combat (wand/staff/rod/horn/bow/crossbow/sling/special) is
another matter.
- Bjoern
- Bjørn Ludvigsen