mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
Some more fixes for limiters and specialties.
This commit is contained in:
@ -1181,7 +1181,6 @@ void CGHeroInstance::Updatespecialty() //TODO: calculate special value of bonuse
|
||||
param = creatures[b->additionalInfo]->Defense();
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
param = 0;
|
||||
}
|
||||
b->val = ceil(param * (1 + primSkillModifier)) - param; //yep, overcomplicated but matches original
|
||||
|
Reference in New Issue
Block a user