diff --git a/readme.txt b/readme.txt index ee7d2c8b63..14bb6484b5 100644 --- a/readme.txt +++ b/readme.txt @@ -146,6 +146,7 @@ https://github.com/Andrettin/Wyrmsun - The Home of the Boii quest (Teuton) now grants 4 tech points instead of 3. - The Treasures of Svarinshaug quest (Dwarf) now grants 3 tech points instead of 2. - The Necklace of the Brisings quest (Dwarf) now grants 3 tech points instead of 2. +- Fixed issue which prevented the player from winning The Binding of Grafvitnir quest (Dwarf) if Grafvitnir was killed. * Terrain - Overhaul of the forest tilesets (by Exidelo). diff --git a/scripts/civilizations/dwarf/scenarios/the_binding_of_grafvitnir.lua b/scripts/civilizations/dwarf/scenarios/the_binding_of_grafvitnir.lua index f85a151e29..b26799c19b 100644 --- a/scripts/civilizations/dwarf/scenarios/the_binding_of_grafvitnir.lua +++ b/scripts/civilizations/dwarf/scenarios/the_binding_of_grafvitnir.lua @@ -274,6 +274,11 @@ AddTrigger( end end end + + -- also trigger the quest's ending if Grafvitnir has died + if (GetPlayerData(GetFactionPlayer("Grafvitnir"), "UnitTypesCount", "unit-wyrm") == 0) then + return true + end end return false end,