Unknown_Hero Mage
Messages : 780 Quality Points : 78 Registration Date : 2015-09-06
| Subject: [Unknown Mod] Special conditional bonus for heroes 2016-04-12, 05:46 | |
| Special conditional bonus for heroesHere is what I want to do (perhaps, as it needs testing): The hero gets +1 Attack, +1 Defense, +1 Spell Power, +1 Knowledge every 5 levels from level 5, this is for all types of heroes and it's conditional. Hero level 1 to 4 --> no bonus Hero level 5 to 9 --> +1 Attack, +1 Defense, +1 Spell Power, +1 Knowledge Hero level 10 to 14 --> +2 Attack, +2 Defense, +2 Spell Power, +2 Knowledge etc. ***** Edited 2016/04/14 - Start: Some changes for this. The bonus is applied only if all the troops in the hero's army are of the same type as the hero's castle type, or neutral troops.The bonus (+1 Attack, +1 Defense) is applied only to all the troops in the hero's army that are of the same type as the hero's castle type. Example: A Barbarian hero's army is composed of Goblins, Wolves, Nomads and Genies, the bonus is applied.A Barbarian hero's army is composed of Goblins, Wolves, Nomads and Genies, the bonus is applied only to the Goblins and the Wolves. A Barbarian hero's army is composed of Goblins, Wolves, Genies and Black Dragons, the bonus is not applied.
The only exception is for the Warlock hero; if he has the Necromancy secondary skill, he gets the bonus even if he has Skeletons in his army.
Examples:
A Warlock hero's army is composed of Centaurs, Griffins and Minotaur Kings, the bonus is applied.
A Warlock hero's army is composed of Centaurs, Griffins, Minotaur Kings and Skeletons and he possess the Necromancy secondary skill, the bonus is applied.
A Warlock hero's army is composed of Centaurs, Griffins, Minotaur Kings and Skeletons and he doesn't possess the Necromancy secondary skill, the bonus is not applied.***** Edited 2016/04/14 - End. Will it be possible to do this? ***** Edited 2016/04/14 - Start: No longer useful. And with a related artifact:
Belt of Cohesion: +1 Attack, +1 Defense, +1 Spell Power, +1 Knowledge, and the hero gets the special bonus no matter the type of troops present in his army.***** Edited 2016/04/14 - End. ***** Edited 2016/04/15 - Start: I will do it this way. And with a related artifact: Belt of Cohesion: +1 Attack, +1 Defense, +1 Spell Power, +1 Knowledge, and the special bonus (+1 Attack, +1 Defense) is applied to all the troops even if they are not of the same type as the hero's castle type. ***** Edited 2016/04/15 - End.
Last edited by Unknown_Hero on 2016-04-16, 06:16; edited 5 times in total | |
|
Darmani Master Modder
Messages : 289 Quality Points : 47 Registration Date : 2014-12-27
| Subject: Re: [Unknown Mod] Special conditional bonus for heroes 2016-04-12, 06:46 | |
| This should be possible with a GetLevel() scripting call. I've made a note of this. | |
|
Unknown_Hero Mage
Messages : 780 Quality Points : 78 Registration Date : 2015-09-06
| |
Sponsored content
| Subject: Re: [Unknown Mod] Special conditional bonus for heroes | |
| |
|