weapon autochoice oddity

Share and discuss strategies for playing the game, and get help and tips from other players.

Moderators: Forum Moderators, Developers

Post Reply
spir
Posts: 97
Joined: September 15th, 2009, 9:31 am
Contact:

weapon autochoice oddity

Post by spir » September 29th, 2009, 7:25 am

Hello,

here is a picture showing an automatic attack choice:
attack.png
The "throwing knives" range attack is chosen.
If I understand correctly here are the damage chances for each attack:

Code: Select all

        damage dealt    drain           final damage    damage received
mace    16*2*50% = 16   8*3/2*60% ~ 7   16-7 = 9        8*3*60% ~ 14
knives  6*3*50% = 9     0               9               15*3*70% ~ 32
The count is complicated by the drain effect, but it's clear that the mace deals however the same final amount of damage, and is much less dangerous!
My question is obviously is: why are the knives chosen?
Denis
life is strange

various stuff about BfW (rules, stats, alternatives) and WML (parser, semantic schema, evolution)

User avatar
zookeeper
WML Wizard
Posts: 9740
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: weapon autochoice oddity

Post by zookeeper » September 29th, 2009, 7:30 am

Retaliation damage is ignored since you'll level up and presumably get fullhealing after the attack.

User avatar
Elvish_Pillager
Posts: 8129
Joined: May 28th, 2004, 10:21 am
Location: Everywhere you think, nowhere you can possibly imagine.
Contact:

Re: weapon autochoice oddity

Post by Elvish_Pillager » September 29th, 2009, 4:57 pm

What zookeeper said, and the fact that the knives average 9.0 damage while the mace only averages 8.8 damage.
It's all fun and games until someone loses a lawsuit. Oh, and by the way, sending me private messages won't work. :/ If you must contact me, there's an e-mail address listed on the website in my profile.

User avatar
Xandria
Posts: 230
Joined: April 23rd, 2006, 5:10 pm
Location: Heart of Europe

Re: weapon autochoice oddity

Post by Xandria » September 30th, 2009, 7:43 am

The game calculated in the lich's drain ability, too :)
The fight against human stupidity is endless, but we must never give it up.
- Jan Werich

csarmi
Posts: 286
Joined: August 13th, 2007, 1:57 pm

Re: weapon autochoice oddity

Post by csarmi » September 30th, 2009, 9:03 am

Retaliation damage would be ignored anyway, I'm afraid. Or is it changed?

Velensk
Multiplayer Contributor
Posts: 3987
Joined: January 24th, 2007, 12:56 am

Re: weapon autochoice oddity

Post by Velensk » September 30th, 2009, 9:18 am

That has been changed, however in this case the computer thinks it's worth the risk.
"There are two kinds of old men in the world. The kind who didn't go to war and who say that they should have lived fast died young and left a handsome corpse and the old men who did go to war and who say that there is no such thing as a handsome corpse."

User avatar
Xandria
Posts: 230
Joined: April 23rd, 2006, 5:10 pm
Location: Heart of Europe

Re: weapon autochoice oddity

Post by Xandria » September 30th, 2009, 12:48 pm

Well, the risk is zero, as the guy will level :) of course it's worth it.
The fight against human stupidity is endless, but we must never give it up.
- Jan Werich

taemyr
Posts: 65
Joined: September 1st, 2007, 12:33 pm

Re: weapon autochoice oddity

Post by taemyr » October 15th, 2009, 11:31 am

Notice that if your crusader had been wounded, so that it only had 45 hp left the computer would preferr the melee attack.

In short the ranged attack is preferred because it has a slighly higher expected damage yield due to the drain. How much damage you take on retaliation is irrelevant, since you will level anyway.

User avatar
Aethaeryn
Translator
Posts: 1553
Joined: September 15th, 2007, 10:21 pm
Location: Baltimore, Maryland, USA

Re: weapon autochoice oddity

Post by Aethaeryn » October 15th, 2009, 5:58 pm

I've seen more oddities while playing through Wesband as an elf that filled a mixed fighter role, doing about the same damage ranged (but magical) as melee (nonmagical). It would prefer me always attacking the enemies ranged (even if they are a ranged-damaging unit) so I would take more probable retaliation, even if the edge magical gave me was only something like 95% chance to kill versus 92%. In this case, it's better to take the very probable kill over the extremely probable kill because there's more enemies nearby and I need full health to withstand the next wave.
Aethaeryn (User Page)
Wiki Moderator (wiki)
Latin Translator [wiki=Latin Translation](wiki)[/wiki]
Maintainer of Thunderstone Era (wiki) and Aethaeryn's Maps [wiki=Aethaeryn's Maps](wiki)[/wiki]

User avatar
Xandria
Posts: 230
Joined: April 23rd, 2006, 5:10 pm
Location: Heart of Europe

Re: weapon autochoice oddity

Post by Xandria » October 16th, 2009, 7:06 am

Well, the algorithm that chooses which attack to use can't obviously factor in strategy and nearby enemies.
The fight against human stupidity is endless, but we must never give it up.
- Jan Werich

User avatar
Aethaeryn
Translator
Posts: 1553
Joined: September 15th, 2007, 10:21 pm
Location: Baltimore, Maryland, USA

Re: weapon autochoice oddity

Post by Aethaeryn » October 16th, 2009, 5:15 pm

Xandria wrote:Well, the algorithm that chooses which attack to use can't obviously factor in strategy and nearby enemies.
When you're talking about the difference between a few percents, and one gives next-to-no retaliation and the other gives a lot of retaliation if you miss? Perhaps retaliation damage is not weighted enough, but it doesn't matter since you can always choose the other attack.
Aethaeryn (User Page)
Wiki Moderator (wiki)
Latin Translator [wiki=Latin Translation](wiki)[/wiki]
Maintainer of Thunderstone Era (wiki) and Aethaeryn's Maps [wiki=Aethaeryn's Maps](wiki)[/wiki]

jon316
Posts: 6
Joined: October 14th, 2008, 4:09 am

Re: weapon autochoice oddity

Post by jon316 » October 25th, 2009, 3:51 am

There were a few times when I was playing with elves and I had a few marksmen (men?) who were attacking with melee when they were in the woods and could have killed the opponent easily with 2/3 hits with the bow, or 2/2 from melee.

When I failed to kill the guy with my first markman, I scratched my head because I wasn't paying attention when I picked the auto-hit choice. Apparently the computer thought a 40% chance to hit twice with melee would be better than 60%(marksman) chance to hit 2/3 with bow.

*shrug* I reloaded because that was stupid on my part for not paying attention anyway.

Post Reply