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

Restored Warmonger's changes to artifacts system.

They will be subject of my further work, along with next part of bonus system.
This commit is contained in:
Michał W. Urbańczyk
2010-11-10 00:06:25 +00:00
parent d1c1758aad
commit bce805dacc
21 changed files with 388 additions and 194 deletions

View File

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