Better Qprogue event config for Spada.
This commit is contained in:
parent
7dc0c86832
commit
6be7d8bd8f
@ -179,6 +179,7 @@ class IIDXSpada(IIDXBase):
|
|||||||
"values": {
|
"values": {
|
||||||
0: "No Event",
|
0: "No Event",
|
||||||
1: "Qprogue",
|
1: "Qprogue",
|
||||||
|
2: "Qprogue DX",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -887,9 +888,11 @@ class IIDXSpada(IIDXBase):
|
|||||||
|
|
||||||
if self.omnimix and (not omni_events):
|
if self.omnimix and (not omni_events):
|
||||||
boss_phase = 0
|
boss_phase = 0
|
||||||
|
boss1_phase = 0
|
||||||
else:
|
else:
|
||||||
# There's only one event, and we hardcode it to the new maps.
|
# There's only one event, with two phases.
|
||||||
boss_phase = game_config.get_int("event_phase")
|
boss_phase = 1 if game_config.get_int("event_phase") > 0 else 0
|
||||||
|
boss1_phase = 1 if game_config.get_int("event_phase") == 2 else 0
|
||||||
|
|
||||||
boss = Node.void("boss")
|
boss = Node.void("boss")
|
||||||
root.add_child(boss)
|
root.add_child(boss)
|
||||||
@ -897,12 +900,13 @@ class IIDXSpada(IIDXBase):
|
|||||||
|
|
||||||
boss1 = Node.void("boss1")
|
boss1 = Node.void("boss1")
|
||||||
root.add_child(boss1)
|
root.add_child(boss1)
|
||||||
boss1.set_attribute("phase", "1")
|
boss1.set_attribute("phase", str(boss1_phase))
|
||||||
|
|
||||||
medal = Node.void("medal")
|
medal = Node.void("medal")
|
||||||
root.add_child(medal)
|
root.add_child(medal)
|
||||||
medal.set_attribute("phase", "1")
|
medal.set_attribute("phase", "1")
|
||||||
|
|
||||||
|
# This is important because you can get additional stamina in Qprogue with VIP Pass Black.
|
||||||
vip_black_pass = Node.void("vip_pass_black")
|
vip_black_pass = Node.void("vip_pass_black")
|
||||||
root.add_child(vip_black_pass)
|
root.add_child(vip_black_pass)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user