Stardew Valley: Fix magic altar logic (#3417)

* Fix magic altar logic

* Force a tuple (really?)

* Fix received and force progression on all spells

* Reversing the tuple change (?yllaer)
This commit is contained in:
Witchybun
2024-05-29 13:16:19 -05:00
committed by GitHub
parent 34f903e97a
commit 378af4b07c
3 changed files with 41 additions and 32 deletions

View File

@@ -1,22 +1,30 @@
all_spells = []
def spell(name: str) -> str:
all_spells.append(name)
return name
class MagicSpell:
clear_debris = "Spell: Clear Debris"
till = "Spell: Till"
water = "Spell: Water"
blink = "Spell: Blink"
evac = "Spell: Evac"
haste = "Spell: Haste"
heal = "Spell: Heal"
buff = "Spell: Buff"
shockwave = "Spell: Shockwave"
fireball = "Spell: Fireball"
frostbite = "Spell: Frostbolt"
teleport = "Spell: Teleport"
lantern = "Spell: Lantern"
tendrils = "Spell: Tendrils"
photosynthesis = "Spell: Photosynthesis"
descend = "Spell: Descend"
meteor = "Spell: Meteor"
bloodmana = "Spell: Bloodmana"
lucksteal = "Spell: Lucksteal"
spirit = "Spell: Spirit"
rewind = "Spell: Rewind"
clear_debris = spell("Spell: Clear Debris")
till = spell("Spell: Till")
water = spell("Spell: Water")
blink = spell("Spell: Blink")
evac = spell("Spell: Evac")
haste = spell("Spell: Haste")
heal = spell("Spell: Heal")
buff = spell("Spell: Buff")
shockwave = spell("Spell: Shockwave")
fireball = spell("Spell: Fireball")
frostbite = spell("Spell: Frostbolt")
teleport = spell("Spell: Teleport")
lantern = spell("Spell: Lantern")
tendrils = spell("Spell: Tendrils")
photosynthesis = spell("Spell: Photosynthesis")
descend = spell("Spell: Descend")
meteor = spell("Spell: Meteor")
bloodmana = spell("Spell: Bloodmana")
lucksteal = spell("Spell: Lucksteal")
spirit = spell("Spell: Spirit")
rewind = spell("Spell: Rewind")