1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Fix Grail digging success message

This commit is contained in:
Ivan Savenko
2024-02-01 18:22:11 +02:00
parent e66a982c96
commit b25d4d76a7
3 changed files with 8 additions and 2 deletions

View File

@ -3699,8 +3699,8 @@ bool CGameHandler::dig(const CGHeroInstance *h)
{
ArtifactID grail = ArtifactID::GRAIL;
iw.text.appendLocalString(EMetaText::GENERAL_TXT, 58); //"Congratulations! After spending many hours digging here, your hero has uncovered the "
iw.text.replaceName(grail);
iw.text.appendLocalString(EMetaText::GENERAL_TXT, 58); //"Congratulations! After spending many hours digging here, your hero has uncovered the " ...
iw.text.appendName(grail); // ... " The Grail"
iw.soundID = soundBase::ULTIMATEARTIFACT;
giveHeroNewArtifact(h, grail.toArtifact(), ArtifactPosition::FIRST_AVAILABLE); //give grail
sendAndApply(&iw);