DarkAtom Pikeman
Messages : 47 Quality Points : 6 Registration Date : 2018-02-27
| Subject: [Ironfist 1.3.0+] Another bug with SetNumGuildSpells() 2019-07-02, 04:58 | |
| Another bug with this function. The timestamp of my executable is 3rd of January 2019, but unless this was found and fixed in the meantime the function is bugged. Replace the Sorrow's End script (or any other map's script) with this one: - Code:
-
function OnMapStart() t = GetTownByName("Sorrow's End"); SetNumGuildSpells(t, 3, 4); --make 4 level 4 spells available BuildInTown(t, BUILDING_MAGE_GUILD); --build a level 1 Mage Guild end;
Now open the town and the Mage Guild. SetNumGuildSpells() reveals all the spells on the level you called it for . You can see the level 1 AND the level 4 spells. And...the hero actually learns those spells! | |
|
Darmani Master Modder
Messages : 289 Quality Points : 47 Registration Date : 2014-12-27
| Subject: Re: [Ironfist 1.3.0+] Another bug with SetNumGuildSpells() 2019-07-18, 16:09 | |
| | |
|