浏览代码

Fixing compiler error from merge

Sam Jaffe 8 年之前
父节点
当前提交
117873a3f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/lombok/org/leumasjaffe/charsheet/model/features/impl/PerSpellLevel.java

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