Skip to content
User Avatar
#3984
Auto-translated
Madara X, Azgalor, thank you for your answers. I've figured out how to check multiple perks in one script. But I still can't figure out how to grant bonuses using givebattlebonus.
I need an example of the code. Maybe some forum users have maps or examples where this code is used.
I'm looking for the following examples:
1) If a hero has skill A, then grant THIS HERO a bonus for one battle (e.g., +1 to creature speed, +BD, +stat, or +1% to creature HP).
2) If a hero has skill B, then grant the OPPONENT'S HERO a bonus for one battle (e.g., -1 to creature speed, -1 BD, luck, etc.).
3) If a hero has skill C, then this hero casts spell D at the beginning of all subsequent battles.
Thank you for any examples and help!