|
|
@@ -32,7 +32,7 @@ public class PerSpellLevel implements DDProperty {
|
|
|
|
|
|
private void accumulateImpl(Tree<String, GroupedBonus> props,
|
|
|
DDCharacterClass chara, DDSpell spell) {
|
|
|
- final int level = spell.getClassLevel(chara.getName());
|
|
|
+ final int level = spell.getClassLevel(chara.getName()).level;
|
|
|
// TODO: allow multiple things?
|
|
|
props.get("effect").putIfAbsent(new GroupedBonus());
|
|
|
props.get("effect").get().accumulate(group, value * level);
|