Updated UI and model to support Actor Condition Immunity.

Overall, a much better UI to tune Actor Condition-based effects on
Dialogues, Items and NPCs.
This commit is contained in:
Zukero
2017-08-28 01:05:19 +02:00
parent de0274a5be
commit 8dc05bd26a
5 changed files with 643 additions and 113 deletions

View File

@@ -58,6 +58,7 @@ public class Dialogue extends JSONElement {
dropList,
skillIncrease,
actorCondition,
actorConditionImmunity,
alignmentChange,
giveItem,
createTimer,
@@ -250,6 +251,7 @@ public class Dialogue extends JSONElement {
reward.map = reward.map_name != null ? proj.getMap(reward.map_name) : null;
break;
case actorCondition:
case actorConditionImmunity:
reward.reward_obj = proj.getActorCondition(reward.reward_obj_id);
break;
case alignmentChange: