Heroes of Might and Magic II Cheats
To enable debug mode, start the game with the /NWC switch on the command line:
C:\Program Files\Heroes2\>Heroes2w.exe /NWC
Then press [F4] during the game to enter windowed mode. You should now see the Debug menu.
To activate a cheat, enter its corresponding code below.
Cheat Code 5 black dragons 32167 Crystals 844690 Final battle 1911 Full map 8675309 Gems 899101 Gold 101111 Increase probability of winning 123456789 Lose battle 1313 Obelisk Map 101495 Ore 844691 Win battle 911
Warning: using any of these cheats will brand you a cheater if your win places you in the high-score list. Source: GameSpy