[v1.7.0+] Wild Sacrifice
Posted: Sun Mar 26, 2023 3:48 pm
Was digging around for new build ideas recently, and was skimming Tryb's Krog Berzerker, when I noticed the casually dropped line: "I ran double Phys/Ment wilds for a while". Which…
I mean, I have seen two-type wild infusions before, but not in recent memory. And they would be awfully useful for my antimagic characters, so it would be nice if they turned up more often, or if there were some way of getting them.
Then I remembered that we have an in-game way of modifying things, and maybe we could hijack it for this purpose too.
In particular, my new Wild Sacrifice addon upgrades the Font of Sacrifice to let it modify wild infusions in your inventory. If your wild infusion removes one type of effect, you can change it to a different type for 500 gold, or add a second type for 1000 gold; if it already removes two types of effects, you can change one of them for 500 gold (changing both wouldn't work, since we only have three options).
[And I suspect this might be considered cheating, so it probably won't be going into ZOmnibus.
[Implementation notes:]

Then I remembered that we have an in-game way of modifying things, and maybe we could hijack it for this purpose too.

[And I suspect this might be considered cheating, so it probably won't be going into ZOmnibus.
[Implementation notes:]
Code: Select all
Superload:
mod.dialogs.FontSacrifice:
generateItemsList() [to add wild infusions]
import() [to build options for a wild infusion]
getEgoDesc() [to describe wild infusion options]
selectEgo() [to select a wild infusion option]
doReroll() [to modify a wild infusion]
getRerollCost() [to compute cost of changing wild infusion]