Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Technical problems and solutions (http://forum.fulqrumpublishing.com/forumdisplay.php?f=125)
-   -   Small Morale Bug (http://forum.fulqrumpublishing.com/showthread.php?t=5853)

The Rider 12-31-2008 02:46 PM

Small Morale Bug
 
At the end of my second replay I noticed that the morale increases by one if your army consists only from elves, dwarves, orcs, undead or demons, but not if it is all from humans. in the morale.txt file I noticed that it was blocked (by mistake or intentionaly, I dont know), but my logic says that the +1 morale bonus should apply to humans too.
The code looked like that:
Code:

onerace {
  // human=1,hint_morale_onerace          //Âñå âîéñêà îäíîé ðàñû. Ìîðàëü +1
    //human,elf=1,hint_morale_friend  //Âñå âîéñêà äðóæåñòâåííûõ ðàñ. Ìîðàëü +1
    elf=1,hint_morale_onerace                //Âñå âîéñêà îäíîé ðàñû. Ìîðàëü +1
    dwarf=1,hint_morale_onerace          //Âñå âîéñêà îäíîé ðàñû. Ìîðàëü +1
    orc=1,hint_morale_onerace                //Âñå âîéñêà îäíîé ðàñû. Ìîðàëü +1
}

I changed it to look like that and it gives all one race armies +1 morale bonus (and +1 for mixed humans and elves)

Code:

onerace {
    human=+1,hint_morale_onerace          //Âñå âîéñêà îäíîé ðàñû. Ìîðàëü +1
    human,elf=+1,hint_morale_friend  //Âñå âîéñêà äðóæåñòâåííûõ ðàñ. Ìîðàëü +1
    elf=+1,hint_morale_onerace                //Âñå âîéñêà îäíîé ðàñû. Ìîðàëü +1
    dwarf=+1,hint_morale_onerace          //Âñå âîéñêà îäíîé ðàñû. Ìîðàëü +1
    orc=+1,hint_morale_onerace                //Âñå âîéñêà îäíîé ðàñû. Ìîðàëü +1
}



All times are GMT. The time now is 11:08 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.