Fix for red castle

Hard mode didn't have the defeat dialogue because it spawned a different version of Lathliss without the defeat code.
This commit is contained in:
Drecon84
2025-07-21 16:45:41 +02:00
parent 9a6ebce85a
commit ff963b2cb9

View File

@@ -64,6 +64,32 @@
<property name="threatRange" type="int" value="50"/>
</properties>
</object>
<object id="56" template="../../../obj/enemy.tx" x="193.477" y="293.735" width="32" height="32">
<properties>
<property name="defeatDialog">[{
&quot;condition&quot;: [{&quot;checkQuestFlag&quot;: &quot;Ch1CastlesComplete&quot;, &quot;not&quot;:true}],
&quot;text&quot;: &quot;As you land your final blow against Lathliss, you feel a significant pulse of mana. But with the immediate threat removed, you can now see clearly that the locked room at the north end of the chamber does not hold any prisoners.&quot;,
&quot;options&quot;: [{
&quot;name&quot;: &quot;(Continue)&quot;,
&quot;action&quot;: [{&quot;setQuestFlag&quot;: {&quot;key&quot;:&quot;Ch1RedCastleComplete&quot;, &quot;val&quot;: 1} }, {&quot;deleteMapObject&quot;: -1}, {&quot;advanceQuestFlag&quot;: &quot;Ch1CastlesComplete&quot;}]
}]
},
{
&quot;condition&quot;: [{&quot;checkQuestFlag&quot;: &quot;Ch1CastlesComplete&quot;}],
&quot;text&quot;: &quot;As you land your final blow against Lathliss, you feel a another pulse of mana. But just as before, the locked room behind your fallen foe does not hold any prisoners.&quot;,
&quot;options&quot;: [{
&quot;name&quot;: &quot;(Continue)&quot;,
&quot;action&quot;: [{&quot;setQuestFlag&quot;: {&quot;key&quot;:&quot;Ch1RedCastleComplete&quot;, &quot;val&quot;: 1} }, {&quot;deleteMapObject&quot;: -1}, {&quot;advanceQuestFlag&quot;: &quot;Ch1CastlesComplete&quot;}]
}]
}]</property>
<property name="effect" value="{ &quot;startBattleWithCardInCommandZone&quot;: [ &quot;Lathliss' Presence (Hard Mode)&quot;]}"/>
<property name="enemy" value="Lathliss"/>
<property name="spawn.Easy" type="bool" value="false"/>
<property name="spawn.Hard" type="bool" value="true"/>
<property name="spawn.Normal" type="bool" value="false"/>
<property name="threatRange" type="int" value="50"/>
</properties>
</object>
<object id="54" template="../../../obj/scroll.tx" x="210" y="74">
<properties>
<property name="reward" value="[ { &quot;type&quot;: &quot;card&quot;, &quot;cardName&quot;: &quot;Mox Ruby&quot;, &quot;count&quot;: 1 }, {&quot;type&quot;: &quot;item&quot;, &quot;count&quot;: 1, &quot;itemName&quot;: &quot;Strange Key&quot;} ]"/>
@@ -105,15 +131,5 @@
]</property>
</properties>
</object>
<object id="56" template="../../../obj/enemy.tx" x="193.047" y="293.131" width="32" height="32">
<properties>
<property name="effect" value="{ &quot;startBattleWithCardInCommandZone&quot;: [ &quot;Lathliss' Presence (Hard Mode)&quot;]}"/>
<property name="enemy" value="Lathliss"/>
<property name="spawn.Easy" type="bool" value="false"/>
<property name="spawn.Hard" type="bool" value="true"/>
<property name="spawn.Normal" type="bool" value="false"/>
<property name="threatRange" type="int" value="50"/>
</properties>
</object>
</objectgroup>
</map>