Skip to content

Commit

Permalink
Fixed issue which prevented the player from winning The Binding of Gr…
Browse files Browse the repository at this point in the history
…afvitnir quest if Grafvitnir was killed
  • Loading branch information
Andrettin committed Mar 17, 2016
1 parent 5f95cec commit 7ceace9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7ceace9

Please sign in to comment.