So, I've tried my dirty hands in spell-modding, and damn, I'm overwhelmed. Nothing I try seem to work..
Code:
#newspell
#copyspell "Lightning Bolt"
#name "Purging Lightning"
#descr "irrelevant"
#school 2
#path 0 1
#path 1 0
#pathlevel 0 1
#pathlevel 1 1
#fatiguecost 25
#damage 8
#precision 10
#range 5020
#effect 24
#nreff 1000
#spec 128
#flightspr -1
#explspr 10219
#restricted 75
#researchlevel 3
#end
#newspell
#name "HAX"
#descr "...."
#restricted 75
#path 0 1
#researchlevel 0
#school 4
#pathlevel 0 1
#aoe 0
#effect 10
#damage 1010
#fatiguecost 0
#nreff 1
#range 0
#precision 0
#explspr 10053
#spec 8192
#end
Purging Lighting seems to work, it does the 3x damage to undead and demons as intented. I tried to copyspell "lighting bolt" to get the "hit" tag, so that it couldn't be parried and always hits. My testing suggest however that this is not the case as it seems to miss half the time. Is there any way I can get the hit tag?
I downloaded the Dr.P's spell data and made the 'HAX' spell. It was intented to be a personal buff that gives Air Shield and Cold Aura. So spec should then be 8192 + 8 = 8200 with effect number 10? Does nothing in testing. So then I tired just cold aura, 8192, and nothing still happens.
I took a look at Llambeast's Tomb Kings mod as it seems to have a working "douple-buff" spell that gives both Str boost and fire resistance ("resilience" is the name). It apparently has spec 75518080. WTF? I can find no clues why should the spec number be so high in neither the modding manual nor Dr.P's database. Shouldn't the spec be 128 (for str boost) + 1024 (for fire res) = 1152?
I'm very confused. Have I missed something crucial?
I also found that there is a effect called "Astral Weapons" in the Effect10 table. I can't recall any spell in vanilla Dom3 giving something like "astral weapon", does anyone know what it does?