PDA

View Full Version : Small Morale Bug


The Rider
12-31-2008, 02:46 PM
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:
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)

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
}