Open KnightCa opened 10 months ago
Note that the "Spellblade base hit mana cost per tier" entry (as well as the mana cost for any Melee upgrades) are ignored when using a Spell Blade (with no Storage upgrades) and Runic Shield (can have Storage upgrades).
While using a Spell Blade with Storage upgrades (so that it can be used when the Runic Shield is unavailable or when it is out of mana), then this entry does apply (as well as the mana cost for any Melee upgrades).
Best solution would seem to be making it so that if a Spell Blade has a source of mana (either a Storage upgrade or a off-hand Wand or a Runic Shield), then basic attacks ignore the config mana cost (as well as the mana cost for any Melee upgrades).
This way, a player can choose if they want to go the:
I feel like this is becoming way more complicated than it should be for players. For now, I've added these setting & values. This way its a lot simpler as the blade will always have some durability (unless configured otherwise..).
@Config.Name("Spellblade basic attack mana cost")
@Config.Comment("The amount of mana required & consumed when the spellblade is used to hit a target")
@Config.RequiresMcRestart
@Config.RangeInt(min = 0, max = 100)
public int spellblade_base_mana_cost = 1;
@Config.Name("Spellblade base mana per tier")
@Config.Comment("The amount of mana a spell blade has by default for each tier,")
@Config.RequiresMcRestart
public int[] spell_blade_base_mana_per_tier = {150, 300, 600, 900};
Is there an existing issue for this?
Observed behaviour
From the Ancient Spellcraft config:
The mana cost can be set to 0, although it's not listed in the range.
Expected behaviour
I expected the range for mana cost per basic hit to be from 0 to 100, the default to be 0, and the default to be listed in the comment section (would be nice to have the defaults mentioned for each section).
Steps to reproduce
Environment (Singleplayer/Server, etc.)
Issue present on both sides
Mod version
1.5.11-PreRelease-4f214c5
Forge version
1.12.2-forge-14.23.5.2860
Other mods
No response