Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
problem with spell casting heros

Heya Great Program,love it smile

my problem i have been unable to correct is i edited a hero and thi si what it shows when i open the spell book,i tried all settings in magic.exe/wizard.exe and all available settings save file(with this editor)

running mom community patch from gog

any suggestions?

[Image: magic_001(1).png?width=285&height=175&fi...&crop=fill]
Reply

If that's what you see every time you open the spellbook (i.e. not just when trying to cast with the edited hero) then you've most likely overwritten something in SPELLDAT.LBX or WIZARDS.EXE, and will need to restore from a backup or re-download the game. If that's not the case though, then it would be useful to know exactly what you were trying to do (e.g. add spell X or ability Y to hero Z).
Reply

(March 4th, 2021, 17:04)drake178 Wrote: If that's what you see every time you open the spellbook (i.e. not just when trying to cast with the edited hero) then you've most likely overwritten something in SPELLDAT.LBX or WIZARDS.EXE, and will need to restore from a backup or re-download the game. If that's not the case though, then it would be useful to know exactly what you were trying to do (e.g. add spell X or ability Y to hero Z).

thxn for the reply

it happens when selecting hero spells,i gave the hero 20 mp and 40 mp w/ and w/o specific spells(same with only 20 or 40),always shows similar(or same) reg wiz spells are fine
Reply

Under Unit Types -> <hero type> -> Attribute Flags, zero out the Caster 20/40. That's not how heroes work, and that's probably what's causing your problem. I assume you set those because you didn't get the expected amount of mana when using Hero Stats (YOU) -> <hero type> -> Hero Casting Skill? That value represents 2.5 Mp per level, added to an initial 2.5 Mp per level. If you want 10 Mp per level, you need to set it to 3. For 20, you set it to 7. However, total Mp is a byte field. You can't have more than 255 under any circumstances, and it wraps around. If you set, say, 20 as the hero's casting skill, that's 52.5 Mp per level. That works up to level 4, but on level 5 will give you 6 Mp.
Reply

excellent tyvm! that did it
Reply



Forum Jump: