Open
Description
Describe the bug
Two bugs:
- Artifacts can spawn with an invalid recharge type
- Artifacts recharge at twice the speed
Steps To Reproduce
Reproducing 1st bug:
- Go to the spawning section of the debug menu.
- Spawn an artifact with
"Spawn clairvoyance artifact"
. - Wield the artifact and open it in your save file.
- Notice how artifact recharge type is
3
which correspondes torelic_recharge::num
.
This bug also extends to some artifacts spawned with"Spawn artifact"
, but I don't know if it happens with naturally spawned artifacts.
Reproducing 2nd bug:
- Keep spawning random artifacts until you find one with with charges and a periodic recharge time.
- Use one charge if artifact is at max charges.
- Wield the artifact and check in your
.sav
file the recharge time ("time"
field ). - Optionally set it to 1 hour (
3600
) for easier testing. - Wait half the amount of turns in the
"time"
field, artifact recharges.
Expected behavior
1st bug:
Artifact recharge type should be relic_recharge::none
instead of relic_recharge::num
.
2nd bug:
Artifact recharges after waiting the exact amount of time.
Screenshots
None
Versions and configuration
- OS: Linux
- OS Version:
- Game Version: 0.E-9884-g2f0f0585b4 [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Bionic Professions [package_bionic_professions],
Magiclysm [magiclysm]
]
Additional context
None
Activity