Dungeons of Dredmor

Dungeons of Dredmor

The Dwarven Mod Industry Needs You!
Create and share new items, rooms, skills, spells, monsters, and more! Click here to learn how.
Shazbot Sep 29, 2013 @ 11:44pm
A quick question about modding
So I'm working on my first mod for the game and I ran into a bit of an issue while working through some new skill trees.

I have a handful of skills that I want to tie into existing effects in Dredmor, much like how Bankster checks for Egyptian Magic glyphs when seeing if it should proc Pyramid Scheme.

Is there any way for me to edit an existing effect in the game without having to edit the core spells XML file? I'm trying to avoid that as it may horrendously break compatability with other mods, won't survive steam validation, and have other, unforseen consequences.
Showing 1-3 of 3 comments
< >
Nico 2 Sep 30, 2013 @ 3:15am 
Maybe you can try to re-write the same effect, it's possible that it'll overwrite the core XML file, not sure.
Nico 2 Sep 30, 2013 @ 3:17am 
Anyway, if you want to add effects, just create a spell which is cast while the other one is casted, with the effects that you're looking to add / remove.

Not sure if you see what I mean:

The spell "X" add 3 to stat Y. So, I make a Spell Z which is casted at 100% when X is used, Z effect is remove 3 to stat Y.
Shazbot Sep 30, 2013 @ 4:32am 
Originally posted by Vehemens:
Anyway, if you want to add effects, just create a spell which is cast while the other one is casted, with the effects that you're looking to add / remove.

Not sure if you see what I mean:

The spell "X" add 3 to stat Y. So, I make a Spell Z which is casted at 100% when X is used, Z effect is remove 3 to stat Y.

I'd love to do that, but as far as I know the only way to detect non-buff spells is with the <triggerOnCast> tag. But that goes off after *every* spell cast, not just the one I'm looking for.

Or is there some secret method to make it do exactly that?

And for now, I'll rewrite the effect and see if it pulls the XML from the mod files. I'm imagining that it'll likely just crash to desktop though.
Last edited by Shazbot; Sep 30, 2013 @ 4:34am
Showing 1-3 of 3 comments
< >
Per page: 15 30 50