mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
- Removed integer parameters from CCreature, all stats are now handled by Bonus System Only
- Parsing for creature format http://wiki.vcmi.eu/index.php?title=Creature_Format Needs rearrangement of some info to work
This commit is contained in:
@ -1148,10 +1148,10 @@ void CGHeroInstance::UpdateSpeciality()
|
||||
switch (it->subtype)
|
||||
{
|
||||
case PrimarySkill::ATTACK:
|
||||
param = creatures[it->additionalInfo]->attack;
|
||||
param = creatures[it->additionalInfo]->Attack();
|
||||
break;
|
||||
case PrimarySkill::DEFENSE:
|
||||
param = creatures[it->additionalInfo]->defence;
|
||||
param = creatures[it->additionalInfo]->Defense();
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
|
Reference in New Issue
Block a user