Browse Source

Fixing compiler error from merge

Sam Jaffe 8 years ago
parent
commit
117873a3f3

+ 1 - 1
src/main/lombok/org/leumasjaffe/charsheet/model/features/impl/PerSpellLevel.java

@@ -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);