1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Sacrificing artifacts. [Code is one giant workaround but should work good enough.] Updated changelog.

This commit is contained in:
Michał W. Urbańczyk
2010-07-23 12:02:15 +00:00
parent 215dc95acb
commit 8487653a8e
16 changed files with 433 additions and 102 deletions

View File

@@ -162,6 +162,8 @@ bool TradeOnMarketplace::applyGh( CGameHandler *gh )
return gh->buySecSkill(m, hero, r2);
case CREATURE_EXP:
return gh->sacrificeCreatures(m, hero, r1, val);
case ARTIFACT_EXP:
return gh->sacrificeArtifact(m, hero, r1);
default:
COMPLAIN_AND_RETURN("Unknown exchange mode!");
}