Permalink
Browse files

fixed: secondary bonus overwritten by primary

secondary bonus to spellpower was overwritten by primary bonus
  • Loading branch information...
1 parent 7c3aaeb commit e40faddde429a3f5a4e20972aef0972eb28dcb86 @Shaijan Shaijan committed Sep 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 kod/object/passive/spell.kod
@@ -2172,7 +2172,7 @@ messages:
% Bind the bonuses to reasonable values.
iPrimaryBonus = bound(iPrimaryBonus,0,30);
- iSecondaryBonus = bound(iPrimaryBonus,0,10);
+ iSecondaryBonus = bound(iSecondaryBonus,0,10);
iSpellPower = iPrimaryBonus + iSecondaryBonus + iPowerBonus + iBase;

0 comments on commit e40fadd

Please sign in to comment.