mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Boat summon spell rewritten
This commit is contained in:
@@ -570,7 +570,7 @@ TExpType CGHeroInstance::calculateXp(TExpType exp) const
|
||||
|
||||
int32_t CGHeroInstance::getCasterUnitId() const
|
||||
{
|
||||
return -1; //TODO: special value for attacker/defender hero
|
||||
return id.getNum();
|
||||
}
|
||||
|
||||
int32_t CGHeroInstance::getSpellSchoolLevel(const spells::Spell * spell, int32_t * outSelectedSchool) const
|
||||
|
||||
Reference in New Issue
Block a user