Thrown Missile Bug?

AuthorTopic: Thrown Missile Bug?
Apprentice
Member # 9297
Profile Homepage #0
Forgive me if this is already a known issue, but I couldn't find any information about it.

I have been looking through the Windows source code, and I ran into the following code:

void fire_missile(location target)
{
...
skill = (overall_mode == 12) ? adven[current_pc].skills[7] : adven[current_pc].skills[8];
...
}

"overall_mode == 12" indicates firing a bow; firing a thrown missile is mode 13. So if we're firing a bow, we use skill 7, which is the bows skill. But otherwise (i.e. we're using a thrown missile), we use skill 8? Skill 8 is Defense, as evidenced by the fact that it is referenced in all of the areas that deal with encumbrance and parrying. Thrown Missile skill should be skill 6.

So I ran a test. I created a new party, with two human characters each with dexterity 6, A with defense skill of 20 and B with thrown missile skill of 20. I entered VoDT, equipped A and B with darts, and went to the goblin area in the northwest of the vale. I had A and B each fire at the goblins 20 times. A hit all 20 times, though not every hit caused damage. B hit only 7 out of 20 times.

Aside from the obvious lesson of using named constants and enumerations instead of numeric literals, does this mean what I think it means? Is the thrown missile skill worthless?
Posts: 7 | Registered: Wednesday, July 11 2007 07:00
...b10010b...
Member # 869
Profile Homepage #1
The Thrown Missile skill would be pretty worthless even if it did work as intended, but good catch anyway.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Shaper
Member # 32
Profile #2
Related to this, would it be possible to make bows and arts as useful in BoE as they are in the Avernum series?

--------------------
Lt. Sullust
Cogito Ergo Sum
Polaris
Posts: 2462 | Registered: Wednesday, October 3 2001 07:00
Apprentice
Member # 4231
Profile #3
Well, Returning weapons can simulate the usefulness of A4's, I imagine. My higher-level archers never go out without them.

--------------------
Lifetime Spiderweb Gamer
and Fan of Classic Style Graphics
Posts: 42 | Registered: Saturday, April 10 2004 07:00
The Establishment
Member # 6
Profile #4
quote:
Originally written by Lt. Sullust:

Related to this, would it be possible to make bows and arts as useful in BoE as they are in the Avernum series?
Yes, but it would break game balance of previous games. It is definitely possible, the question is of should.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Apprentice
Member # 8990
Profile #5
You sooner or later get a few returning darts, arrows or whatever anyway... or you make something yourself... but this is one of the things (which if not changed) makes Exile a bit more realistic than Avernum generally...

Like in Exile, big fireball, big area hurt, no matter which being is in there... (Friendly Fire hurray!)
In Avernum, cast, pick target, pick target, pick target... and never be able to hurt anyone else than your enemies... boring... and unlogical...

--------------------
Computers make very fast, very accurate mistakes.

TM about one of his own Scenarios: "Well... enjoy... nevermind."
Posts: 37 | Registered: Saturday, June 16 2007 07:00
Lifecrafter
Member # 6193
Profile Homepage #6
How is it more realistic for thrown missiles (And archery really) to be completely useless? You can ruin someone's day with a javelin.

--------------------
Guaranteed to blow your mind.

Frostbite: Get It While It's...... Hot?
Posts: 900 | Registered: Monday, August 8 2005 07:00
Law Bringer
Member # 6785
Profile #7
The advantage thrown missle have is few AP cost to use. So in hasted mode you get an extra attack over bows. The damage is lower usually so it balances out.
Posts: 4643 | Registered: Friday, February 10 2006 08:00
Apprentice
Member # 9367
Profile #8
Another - very important advantage of thrown missiles is the ability (without being hasted)they give you to jump out from behind cover, shoot, and jump back to safety in one round.
As for the uselessness of missiles, in the medievil period, only longbows and crossbows were really able to pierce armour, everything else was fairly useless against armoured foes

[ Tuesday, July 17, 2007 10:20: Message edited by: Robsta ]

--------------------
I came, I saw, I conquered
Posts: 31 | Registered: Tuesday, July 17 2007 07:00