mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Fixes for town mob defeat logic in Liliana's Dungeon
This commit is contained in:
@@ -204,6 +204,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -247,6 +251,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -308,6 +316,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -362,6 +374,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -413,6 +429,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -454,6 +474,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -630,6 +654,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -680,6 +708,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -688,6 +720,46 @@
|
||||
</object>
|
||||
<object id="211" template="../../../obj/enemy.tx" x="704" y="80">
|
||||
<properties>
|
||||
<property name="defeatDialog">[
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned", "not":true},
|
||||
{"checkMapFlag":"warehouse", "not":true}
|
||||
],
|
||||
"action": [
|
||||
{"advanceMapFlag":"warehouse"},
|
||||
{"advanceMapFlag":"placesAlreadyChecked"},
|
||||
{"deleteMapObject": -1}
|
||||
],
|
||||
"text": "Marking warehouse as checked",
|
||||
"options":[{"name":"(Continue)","action": [
|
||||
{"deleteMapObject": -1}]}]
|
||||
},
|
||||
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned", "not":true},
|
||||
{"getMapFlag":{"key":"placesAlreadyChecked","op":"<","val":6}}
|
||||
],
|
||||
"text": "The mayor does not appear to be in the warehouse",
|
||||
"options":[{"name":"(Continue your search)","action": [
|
||||
{"deleteMapObject": -1}]}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned", "not":true},
|
||||
{"getMapFlag":{"key":"placesAlreadyChecked","op":">=","val":6}}
|
||||
],
|
||||
"action": [
|
||||
{"advanceMapFlag":"mayorSpawned","activateMapObject":224}],
|
||||
"text": "After searching most of the town, you still haven't found the mayor, but as you glance back in that direction you finally spot them out in the street!",
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
<property name="enemy" value="Volcano Elemental"/>
|
||||
<property name="pursueRange" type="int" value="80"/>
|
||||
<property name="reward">[
|
||||
@@ -737,6 +809,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -756,6 +832,46 @@
|
||||
</object>
|
||||
<object id="213" template="../../../obj/enemy.tx" x="544" y="64">
|
||||
<properties>
|
||||
<property name="defeatDialog">[
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned", "not":true},
|
||||
{"checkMapFlag":"hut", "not":true}
|
||||
],
|
||||
"action": [
|
||||
{"advanceMapFlag":"hut"},
|
||||
{"advanceMapFlag":"placesAlreadyChecked"},
|
||||
{"deleteMapObject": -1}
|
||||
],
|
||||
"text": "Marking hut as checked",
|
||||
"options":[{"name":"(Continue)","action": [
|
||||
{"deleteMapObject": -1}]}]
|
||||
},
|
||||
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned", "not":true},
|
||||
{"getMapFlag":{"key":"placesAlreadyChecked","op":"<","val":6}}
|
||||
],
|
||||
"text": "The mayor does not appear to be in the witch's hut",
|
||||
"options":[{"name":"(Continue your search)","action": [
|
||||
{"deleteMapObject": -1}]}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned", "not":true},
|
||||
{"getMapFlag":{"key":"placesAlreadyChecked","op":">=","val":6}}
|
||||
],
|
||||
"action": [
|
||||
{"advanceMapFlag":"mayorSpawned","activateMapObject":224}],
|
||||
"text": "After searching most of the town, you still haven't found the mayor, but as you glance back in that direction you finally spot them out in the street!",
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
<property name="enemy" value="Bog Witch"/>
|
||||
<property name="reward">[
|
||||
{
|
||||
@@ -804,6 +920,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -854,6 +974,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -904,6 +1028,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -956,6 +1084,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1006,6 +1138,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1057,6 +1193,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1110,6 +1250,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1160,6 +1304,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1215,10 +1363,14 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
<property name="enemy" value="Rakdos Wiz"/>
|
||||
<property name="enemy" value="Rakdos Wizard"/>
|
||||
<property name="reward">[
|
||||
{
|
||||
"type": "item",
|
||||
@@ -1266,6 +1418,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1291,6 +1447,7 @@
|
||||
"options":[
|
||||
{"name":"(continue)"
|
||||
}
|
||||
{"action":[{"deleteMapObject": 278}, {"deleteMapObject": -1}]}
|
||||
]
|
||||
}
|
||||
]</property>
|
||||
@@ -1299,18 +1456,9 @@
|
||||
"text":"The mayor can only keep away from you for so long before you manage to fight through the crowd and reach him.",
|
||||
"options":[
|
||||
{ "name":"Walk away" },
|
||||
{ "name":"Attack the witch",
|
||||
"action":[{"battleWithActorID":-1}]},
|
||||
{
|
||||
"name":"Approach her slowly",
|
||||
"text": "\"Be gone with you! You will not have them!\" She steps back, dropping some of the herbs and mushrooms that she appears to have been gathering.",
|
||||
"options": [
|
||||
{ "name":"Walk away" },
|
||||
{ "name":"Attack the witch",
|
||||
"action":[{"battleWithActorID":-1}]
|
||||
}
|
||||
]
|
||||
}]
|
||||
{ "name":"Attack the Mayor",
|
||||
"action":[{"battleWithActorID":-1}]}
|
||||
|
||||
}
|
||||
]</property>
|
||||
<property name="effect">{
|
||||
@@ -1319,8 +1467,8 @@
|
||||
}</property>
|
||||
<property name="enemy" value="Zombie Lord"/>
|
||||
<property name="fleeRange" type="float" value="125"/>
|
||||
<property name="hidden" type="bool" value="true"/>
|
||||
<property name="inactive" type="bool" value="true"/>
|
||||
<property name="hidden" type="bool" value="false"/>
|
||||
<property name="inactive" type="bool" value="false"/>
|
||||
<property name="reward">[
|
||||
{
|
||||
"type": "item",
|
||||
@@ -1418,6 +1566,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1469,6 +1621,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1591,6 +1747,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1669,6 +1829,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1724,6 +1888,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1778,6 +1946,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
@@ -1832,6 +2004,10 @@
|
||||
"options":[{"name":"(Chase after them!!!)","action": [
|
||||
{"deleteMapObject": -1}]
|
||||
}]
|
||||
},
|
||||
{"condition": [
|
||||
{"checkMapFlag":"mayorSpawned"}],
|
||||
"action": [{"deleteMapObject": -1}]
|
||||
}
|
||||
]
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user