Mage usage class

Discussion of all aspects of the game engine, including development of new and existing features.

Moderator: Forum Moderators

Post Reply
Chrysophylax
Posts: 36
Joined: October 19th, 2011, 2:42 pm

Mage usage class

Post by Chrysophylax »

In both 1.10.5 and 1.8.6 the Mage has usage= mixed fighter. Why not usage=archer? A Bowman is clearly a better mixed fighter than a Mage but is classed as an archer. Is this to prevent the AI using them in a certain way, or what? I don't see any strategic reason to consider a mage a mixed fighter: it's the archetypal glass cannon, being even more easily killed than DAs.
alluton
Posts: 420
Joined: June 26th, 2010, 6:49 pm
Location: Finland

Re: Mage usage class

Post by alluton »

I believe the only usage for types like fighter or archer are purely for AI recruit patterns. ( Tough I'm not sure if this also applies to new, now official, AI developed by mattsc)
"This game cured me of my real life addiction."
-Flameslash
Chrysophylax
Posts: 36
Joined: October 19th, 2011, 2:42 pm

Re: Mage usage class

Post by Chrysophylax »

I also believe that they only affect recruitment patterns. What I'm asking is why the archer unit is classed as a mixed fighter and vice versa.
User avatar
Kymille
Posts: 105
Joined: October 25th, 2009, 4:55 am

Re: Mage usage class

Post by Kymille »

In a 2013 thread someone says it is prevent them from being recruited too often relative to bowmen.

http://forum.wesnoth.org/viewtopic.php?t=38446&p=549077
User avatar
Eagle_11
Posts: 759
Joined: November 20th, 2013, 12:20 pm

Re: Mage usage class

Post by Eagle_11 »

Should invent a new usage, specific for squishies: killstealer*

*keep near frontline but absolutely do not engage in combat unless the kill is guaranteed. (then wesnothian rng occurrs, still dies :P )
Battlecruiser_Venca
Posts: 196
Joined: June 3rd, 2009, 11:37 am
Contact:

Re: Mage usage class

Post by Battlecruiser_Venca »

AFAIK the usage is only to thing how AI recruits units.

And the mixed fighter is to differentiate bowmen and mages, so this hack lets you control frequency of recruiting both units individually.

And I believe that was used in order to don't add any new type, so the devs picked a free one.
User avatar
Crow_T
Posts: 851
Joined: February 24th, 2011, 4:20 am

Re: Mage usage class

Post by Crow_T »

It's been said that the mixed fighter only controls recruiting, but when playing with an AI ally that has mages they throw them right out into the front line very recklessly/suicidally, as though mages have a decent melee and the HP of an actual mixed fighting unit.
mattsc
Developer
Posts: 1173
Joined: October 13th, 2010, 6:14 pm
Location: Hidden on the hex behind Fred

Re: Mage usage class

Post by mattsc »

Crow_T wrote:It's been said that the mixed fighter only controls recruiting, but when playing with an AI ally that has mages they throw them right out into the front line very recklessly/suicidally, as though mages have a decent melee and the HP of an actual mixed fighting unit.
The usage is used by the AI in exactly two places: recruiting (for all units) and path finding (for scouts only). It has no effect on combat analysis. If you don't believe me, create a unit that is identical to the Mage in all respect except usage and see what happens. ;)

The reason why the AI likes to attack with mages (well, it depends somewhat on the settings of parameters like aggression) is that the main part of the attack rating is the difference between expected damage dealt and expected damage taken, with particular emphasis on chance-to-kill (with some modifiers). That rating is often quite high for mages, esp. against units without a ranged attack. The default AI does not take potential damage from counter attacks during the opponents turn into account.
Post Reply