mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Implemented Summon Boat spell.
This commit is contained in:
@@ -160,6 +160,12 @@ bool DigWithHero::applyGh( CGameHandler *gh )
|
||||
return gh->dig(gh->getHero(id));
|
||||
}
|
||||
|
||||
bool CastAdvSpell::applyGh( CGameHandler *gh )
|
||||
{
|
||||
ERROR_IF_NOT_OWNS(hid);
|
||||
return gh->castSpell(gh->getHero(hid), sid, pos);
|
||||
}
|
||||
|
||||
bool PlayerMessage::applyGh( CGameHandler *gh )
|
||||
{
|
||||
if(gh->getPlayerAt(c) != player) ERROR_AND_RETURN;
|
||||
|
||||
Reference in New Issue
Block a user