|
| 1 | +# In almost all cases, we leave boss and enemy randomization up to the static randomizer. But for |
| 2 | +# Yhorm specifically we need to know where he ends up in order to ensure that the Storm Ruler is |
| 3 | +# available before his fight. |
| 4 | + |
| 5 | +from dataclasses import dataclass, field |
| 6 | +from typing import Set |
| 7 | + |
| 8 | + |
| 9 | +@dataclass |
| 10 | +class DS3BossInfo: |
| 11 | + """The set of locations a given boss location blocks access to.""" |
| 12 | + |
| 13 | + name: str |
| 14 | + """The boss's name.""" |
| 15 | + |
| 16 | + id: int |
| 17 | + """The game's ID for this particular boss.""" |
| 18 | + |
| 19 | + dlc: bool = False |
| 20 | + """This boss appears in one of the game's DLCs.""" |
| 21 | + |
| 22 | + before_storm_ruler: bool = False |
| 23 | + """Whether this location appears before it's possible to get Storm Ruler in vanilla. |
| 24 | +
|
| 25 | + This is used to determine whether it's safe to place Yhorm here if weapons |
| 26 | + aren't randomized. |
| 27 | + """ |
| 28 | + |
| 29 | + locations: Set[str] = field(default_factory=set) |
| 30 | + """Additional individual locations that can't be accessed until the boss is dead.""" |
| 31 | + |
| 32 | + |
| 33 | +# Note: the static randomizer splits up some bosses into separate fights for separate phases, each |
| 34 | +# of which can be individually replaced by Yhorm. |
| 35 | +all_bosses = [ |
| 36 | + DS3BossInfo("Iudex Gundyr", 4000800, before_storm_ruler = True, locations = { |
| 37 | + "CA: Coiled Sword - boss drop" |
| 38 | + }), |
| 39 | + DS3BossInfo("Vordt of the Boreal Valley", 3000800, before_storm_ruler = True, locations = { |
| 40 | + "HWL: Soul of Boreal Valley Vordt" |
| 41 | + }), |
| 42 | + DS3BossInfo("Curse-rotted Greatwood", 3100800, locations = { |
| 43 | + "US: Soul of the Rotted Greatwood", |
| 44 | + "US: Transposing Kiln - boss drop", |
| 45 | + "US: Wargod Wooden Shield - Pit of Hollows", |
| 46 | + "FS: Hawkwood's Shield - gravestone after Hawkwood leaves", |
| 47 | + "FS: Sunset Shield - by grave after killing Hodrick w/Sirris", |
| 48 | + "US: Sunset Helm - Pit of Hollows after killing Hodrick w/Sirris", |
| 49 | + "US: Sunset Armor - pit of hollows after killing Hodrick w/Sirris", |
| 50 | + "US: Sunset Gauntlets - pit of hollows after killing Hodrick w/Sirris", |
| 51 | + "US: Sunset Leggings - pit of hollows after killing Hodrick w/Sirris", |
| 52 | + "FS: Sunless Talisman - Sirris, kill GA boss", |
| 53 | + "FS: Sunless Veil - shop, Sirris quest, kill GA boss", |
| 54 | + "FS: Sunless Armor - shop, Sirris quest, kill GA boss", |
| 55 | + "FS: Sunless Gauntlets - shop, Sirris quest, kill GA boss", |
| 56 | + "FS: Sunless Leggings - shop, Sirris quest, kill GA boss", |
| 57 | + }), |
| 58 | + DS3BossInfo("Crystal Sage", 3300850, locations = { |
| 59 | + "RS: Soul of a Crystal Sage", |
| 60 | + "FS: Sage's Big Hat - shop after killing RS boss", |
| 61 | + "FS: Hawkwood's Shield - gravestone after Hawkwood leaves", |
| 62 | + }), |
| 63 | + DS3BossInfo("Deacons of the Deep", 3500800, locations = { |
| 64 | + "CD: Soul of the Deacons of the Deep", |
| 65 | + "CD: Small Doll - boss drop", |
| 66 | + "FS: Hawkwood's Shield - gravestone after Hawkwood leaves", |
| 67 | + }), |
| 68 | + DS3BossInfo("Abyss Watchers", 3300801, before_storm_ruler = True, locations = { |
| 69 | + "FK: Soul of the Blood of the Wolf", |
| 70 | + "FK: Cinders of a Lord - Abyss Watcher", |
| 71 | + "FS: Undead Legion Helm - shop after killing FK boss", |
| 72 | + "FS: Undead Legion Armor - shop after killing FK boss", |
| 73 | + "FS: Undead Legion Gauntlet - shop after killing FK boss", |
| 74 | + "FS: Undead Legion Leggings - shop after killing FK boss", |
| 75 | + "FS: Farron Ring - Hawkwood", |
| 76 | + "FS: Hawkwood's Shield - gravestone after Hawkwood leaves", |
| 77 | + }), |
| 78 | + DS3BossInfo("High Lord Wolnir", 3800800, before_storm_ruler = True, locations = { |
| 79 | + "CC: Soul of High Lord Wolnir", |
| 80 | + "FS: Wolnir's Crown - shop after killing CC boss", |
| 81 | + "CC: Homeward Bone - Irithyll bridge", |
| 82 | + "CC: Pontiff's Right Eye - Irithyll bridge, miniboss drop", |
| 83 | + }), |
| 84 | + DS3BossInfo("Pontiff Sulyvahn", 3700850, locations = { |
| 85 | + "IBV: Soul of Pontiff Sulyvahn", |
| 86 | + }), |
| 87 | + DS3BossInfo("Old Demon King", 3800830, locations = { |
| 88 | + "SL: Soul of the Old Demon King", |
| 89 | + }), |
| 90 | + DS3BossInfo("Aldrich, Devourer of Gods", 3700800, locations = { |
| 91 | + "AL: Soul of Aldrich", |
| 92 | + "AL: Cinders of a Lord - Aldrich", |
| 93 | + "FS: Smough's Helm - shop after killing AL boss", |
| 94 | + "FS: Smough's Armor - shop after killing AL boss", |
| 95 | + "FS: Smough's Gauntlets - shop after killing AL boss", |
| 96 | + "FS: Smough's Leggings - shop after killing AL boss", |
| 97 | + "AL: Sun Princess Ring - dark cathedral, after boss", |
| 98 | + "FS: Leonhard's Garb - shop after killing Leonhard", |
| 99 | + "FS: Leonhard's Gauntlets - shop after killing Leonhard", |
| 100 | + "FS: Leonhard's Trousers - shop after killing Leonhard", |
| 101 | + }), |
| 102 | + DS3BossInfo("Dancer of the Boreal Valley", 3000899, locations = { |
| 103 | + "HWL: Soul of the Dancer", |
| 104 | + "FS: Dancer's Crown - shop after killing LC entry boss", |
| 105 | + "FS: Dancer's Armor - shop after killing LC entry boss", |
| 106 | + "FS: Dancer's Gauntlets - shop after killing LC entry boss", |
| 107 | + "FS: Dancer's Leggings - shop after killing LC entry boss", |
| 108 | + }), |
| 109 | + DS3BossInfo("Dragonslayer Armour", 3010800, locations = { |
| 110 | + "LC: Soul of Dragonslayer Armour", |
| 111 | + "FS: Morne's Helm - shop after killing Eygon or LC boss", |
| 112 | + "FS: Morne's Armor - shop after killing Eygon or LC boss", |
| 113 | + "FS: Morne's Gauntlets - shop after killing Eygon or LC boss", |
| 114 | + "FS: Morne's Leggings - shop after killing Eygon or LC boss", |
| 115 | + "LC: Titanite Chunk - down stairs after boss", |
| 116 | + }), |
| 117 | + DS3BossInfo("Consumed King Oceiros", 3000830, locations = { |
| 118 | + "CKG: Soul of Consumed Oceiros", |
| 119 | + "CKG: Titanite Scale - tomb, chest #1", |
| 120 | + "CKG: Titanite Scale - tomb, chest #2", |
| 121 | + "CKG: Drakeblood Helm - tomb, after killing AP mausoleum NPC", |
| 122 | + "CKG: Drakeblood Armor - tomb, after killing AP mausoleum NPC", |
| 123 | + "CKG: Drakeblood Gauntlets - tomb, after killing AP mausoleum NPC", |
| 124 | + "CKG: Drakeblood Leggings - tomb, after killing AP mausoleum NPC", |
| 125 | + }), |
| 126 | + DS3BossInfo("Champion Gundyr", 4000830, locations = { |
| 127 | + "UG: Soul of Champion Gundyr", |
| 128 | + "FS: Gundyr's Helm - shop after killing UG boss", |
| 129 | + "FS: Gundyr's Armor - shop after killing UG boss", |
| 130 | + "FS: Gundyr's Gauntlets - shop after killing UG boss", |
| 131 | + "FS: Gundyr's Leggings - shop after killing UG boss", |
| 132 | + "UG: Hornet Ring - environs, right of main path after killing FK boss", |
| 133 | + "UG: Chaos Blade - environs, left of shrine", |
| 134 | + "UG: Blacksmith Hammer - shrine, Andre's room", |
| 135 | + "UG: Eyes of a Fire Keeper - shrine, Irina's room", |
| 136 | + "UG: Coiled Sword Fragment - shrine, dead bonfire", |
| 137 | + "UG: Soul of a Crestfallen Knight - environs, above shrine entrance", |
| 138 | + "UG: Life Ring+3 - shrine, behind big throne", |
| 139 | + "UG: Ring of Steel Protection+1 - environs, behind bell tower", |
| 140 | + "FS: Ring of Sacrifice - Yuria shop", |
| 141 | + "UG: Ember - shop", |
| 142 | + "UG: Priestess Ring - shop", |
| 143 | + "UG: Wolf Knight Helm - shop after killing FK boss", |
| 144 | + "UG: Wolf Knight Armor - shop after killing FK boss", |
| 145 | + "UG: Wolf Knight Gauntlets - shop after killing FK boss", |
| 146 | + "UG: Wolf Knight Leggings - shop after killing FK boss", |
| 147 | + }), |
| 148 | + DS3BossInfo("Ancient Wyvern", 3200800), |
| 149 | + DS3BossInfo("King of the Storm", 3200850, locations = { |
| 150 | + "AP: Soul of the Nameless King", |
| 151 | + "FS: Golden Crown - shop after killing AP boss", |
| 152 | + "FS: Dragonscale Armor - shop after killing AP boss", |
| 153 | + "FS: Golden Bracelets - shop after killing AP boss", |
| 154 | + "FS: Dragonscale Waistcloth - shop after killing AP boss", |
| 155 | + "AP: Titanite Slab - plaza", |
| 156 | + "AP: Covetous Gold Serpent Ring+2 - plaza", |
| 157 | + "AP: Dragonslayer Helm - plaza", |
| 158 | + "AP: Dragonslayer Armor - plaza", |
| 159 | + "AP: Dragonslayer Gauntlets - plaza", |
| 160 | + "AP: Dragonslayer Leggings - plaza", |
| 161 | + }), |
| 162 | + DS3BossInfo("Nameless King", 3200851, locations = { |
| 163 | + "AP: Soul of the Nameless King", |
| 164 | + "FS: Golden Crown - shop after killing AP boss", |
| 165 | + "FS: Dragonscale Armor - shop after killing AP boss", |
| 166 | + "FS: Golden Bracelets - shop after killing AP boss", |
| 167 | + "FS: Dragonscale Waistcloth - shop after killing AP boss", |
| 168 | + "AP: Titanite Slab - plaza", |
| 169 | + "AP: Covetous Gold Serpent Ring+2 - plaza", |
| 170 | + "AP: Dragonslayer Helm - plaza", |
| 171 | + "AP: Dragonslayer Armor - plaza", |
| 172 | + "AP: Dragonslayer Gauntlets - plaza", |
| 173 | + "AP: Dragonslayer Leggings - plaza", |
| 174 | + }), |
| 175 | + DS3BossInfo("Lothric, Younger Prince", 3410830, locations = { |
| 176 | + "GA: Soul of the Twin Princes", |
| 177 | + "GA: Cinders of a Lord - Lothric Prince", |
| 178 | + }), |
| 179 | + DS3BossInfo("Lorian, Elder Prince", 3410832, locations = { |
| 180 | + "GA: Soul of the Twin Princes", |
| 181 | + "GA: Cinders of a Lord - Lothric Prince", |
| 182 | + "FS: Lorian's Helm - shop after killing GA boss", |
| 183 | + "FS: Lorian's Armor - shop after killing GA boss", |
| 184 | + "FS: Lorian's Gauntlets - shop after killing GA boss", |
| 185 | + "FS: Lorian's Leggings - shop after killing GA boss", |
| 186 | + }), |
| 187 | + DS3BossInfo("Champion's Gravetender and Gravetender Greatwolf", 4500860, dlc = True, |
| 188 | + locations = {"PW1: Valorheart - boss drop"}), |
| 189 | + DS3BossInfo("Sister Friede", 4500801, dlc = True, locations = { |
| 190 | + "PW2: Soul of Sister Friede", |
| 191 | + "PW2: Titanite Slab - boss drop", |
| 192 | + "PW1: Titanite Slab - Corvian", |
| 193 | + "FS: Ordained Hood - shop after killing PW2 boss", |
| 194 | + "FS: Ordained Dress - shop after killing PW2 boss", |
| 195 | + "FS: Ordained Trousers - shop after killing PW2 boss", |
| 196 | + }), |
| 197 | + DS3BossInfo("Blackflame Friede", 4500800, dlc = True, locations = { |
| 198 | + "PW2: Soul of Sister Friede", |
| 199 | + "PW1: Titanite Slab - Corvian", |
| 200 | + "FS: Ordained Hood - shop after killing PW2 boss", |
| 201 | + "FS: Ordained Dress - shop after killing PW2 boss", |
| 202 | + "FS: Ordained Trousers - shop after killing PW2 boss", |
| 203 | + }), |
| 204 | + DS3BossInfo("Demon Prince", 5000801, dlc = True, locations = { |
| 205 | + "DH: Soul of the Demon Prince", |
| 206 | + "DH: Small Envoy Banner - boss drop", |
| 207 | + }), |
| 208 | + DS3BossInfo("Halflight, Spear of the Church", 5100800, dlc = True, locations = { |
| 209 | + "RC: Titanite Slab - mid boss drop", |
| 210 | + "RC: Titanite Slab - ashes, NPC drop", |
| 211 | + "RC: Titanite Slab - ashes, mob drop", |
| 212 | + "RC: Filianore's Spear Ornament - mid boss drop", |
| 213 | + "RC: Crucifix of the Mad King - ashes, NPC drop", |
| 214 | + "RC: Shira's Crown - Shira's room after killing ashes NPC", |
| 215 | + "RC: Shira's Armor - Shira's room after killing ashes NPC", |
| 216 | + "RC: Shira's Gloves - Shira's room after killing ashes NPC", |
| 217 | + "RC: Shira's Trousers - Shira's room after killing ashes NPC", |
| 218 | + }), |
| 219 | + DS3BossInfo("Darkeater Midir", 5100850, dlc = True, locations = { |
| 220 | + "RC: Soul of Darkeater Midir", |
| 221 | + "RC: Spears of the Church - hidden boss drop", |
| 222 | + }), |
| 223 | + DS3BossInfo("Slave Knight Gael 1", 5110801, dlc = True, locations = { |
| 224 | + "RC: Soul of Slave Knight Gael", |
| 225 | + "RC: Blood of the Dark Soul - end boss drop", |
| 226 | + # These are accessible before you trigger the boss, but once you do you |
| 227 | + # have to beat it before getting them. |
| 228 | + "RC: Titanite Slab - ashes, mob drop", |
| 229 | + "RC: Titanite Slab - ashes, NPC drop", |
| 230 | + "RC: Sacred Chime of Filianore - ashes, NPC drop", |
| 231 | + "RC: Crucifix of the Mad King - ashes, NPC drop", |
| 232 | + "RC: Shira's Crown - Shira's room after killing ashes NPC", |
| 233 | + "RC: Shira's Armor - Shira's room after killing ashes NPC", |
| 234 | + "RC: Shira's Gloves - Shira's room after killing ashes NPC", |
| 235 | + "RC: Shira's Trousers - Shira's room after killing ashes NPC", |
| 236 | + }), |
| 237 | + DS3BossInfo("Slave Knight Gael 2", 5110800, dlc = True, locations = { |
| 238 | + "RC: Soul of Slave Knight Gael", |
| 239 | + "RC: Blood of the Dark Soul - end boss drop", |
| 240 | + # These are accessible before you trigger the boss, but once you do you |
| 241 | + # have to beat it before getting them. |
| 242 | + "RC: Titanite Slab - ashes, mob drop", |
| 243 | + "RC: Titanite Slab - ashes, NPC drop", |
| 244 | + "RC: Sacred Chime of Filianore - ashes, NPC drop", |
| 245 | + "RC: Crucifix of the Mad King - ashes, NPC drop", |
| 246 | + "RC: Shira's Crown - Shira's room after killing ashes NPC", |
| 247 | + "RC: Shira's Armor - Shira's room after killing ashes NPC", |
| 248 | + "RC: Shira's Gloves - Shira's room after killing ashes NPC", |
| 249 | + "RC: Shira's Trousers - Shira's room after killing ashes NPC", |
| 250 | + }), |
| 251 | + DS3BossInfo("Lords of Cinder", 4100800, locations = { |
| 252 | + "KFF: Soul of the Lords", |
| 253 | + "FS: Billed Mask - Yuria after killing KFF boss", |
| 254 | + "FS: Black Dress - Yuria after killing KFF boss", |
| 255 | + "FS: Black Gauntlets - Yuria after killing KFF boss", |
| 256 | + "FS: Black Leggings - Yuria after killing KFF boss" |
| 257 | + }), |
| 258 | +] |
| 259 | + |
| 260 | +default_yhorm_location = DS3BossInfo("Yhorm the Giant", 3900800, locations = { |
| 261 | + "PC: Soul of Yhorm the Giant", |
| 262 | + "PC: Cinders of a Lord - Yhorm the Giant", |
| 263 | + "PC: Siegbräu - Siegward after killing boss", |
| 264 | +}) |
0 commit comments