浏览代码

Change target to a 'Duration'. This is because duration is an untyped dimension (in that it doesn't support translation like Range does).

Sam Jaffe 8 年之前
父节点
当前提交
bbae2ffa4d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/org/leumasjaffe/charsheet/model/magic/DDSpell.java

+ 2 - 1
src/org/leumasjaffe/charsheet/model/magic/DDSpell.java

@@ -67,7 +67,8 @@ public class DDSpell {
 	@NonNull Range range;
 	Optional<Effect> effect;
 	Area area;
-	String target;
+	// TODO: Either rename Duration to something common, or refactor a copy and make duration have time-based controls
+	Duration target;
 	@NonNull Duration duration;
 	@NonNull String savingThrow; // TODO
 	boolean allowsSpellResistance;