소스 검색

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