mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
max range for spellcaster
This commit is contained in:
@@ -783,6 +783,11 @@ int32_t CGHeroInstance::getCasterUnitId() const
|
||||
return id.getNum();
|
||||
}
|
||||
|
||||
BattleHex CGHeroInstance::getCasterPosition() const
|
||||
{
|
||||
return BattleHex::INVALID;
|
||||
}
|
||||
|
||||
int32_t CGHeroInstance::getSpellSchoolLevel(const spells::Spell * spell, SpellSchool * outSelectedSchool) const
|
||||
{
|
||||
int32_t skill = -1; //skill level
|
||||
@@ -860,6 +865,11 @@ int64_t CGHeroInstance::getEffectValue(const spells::Spell * spell) const
|
||||
return 0;
|
||||
}
|
||||
|
||||
int64_t CGHeroInstance::getEffectRange(const spells::Spell * spell) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
PlayerColor CGHeroInstance::getCasterOwner() const
|
||||
{
|
||||
return tempOwner;
|
||||
|
||||
Reference in New Issue
Block a user