A question about magic items effects

Discuss Daggerfall Unity and Daggerfall Tools for Unity.
Post Reply
User avatar
Midknightprince
Posts: 1324
Joined: Fri Aug 11, 2017 6:51 am
Location: San Antonio TX
Contact:

A question about magic items effects

Post by Midknightprince »

I have a two unidentified boxes in my inventory, when I id both of them, they come up as endurance.
My question is, when do they get assigned the magic effects.
Knowing all the effects aren't in yet, I'm wondering if when they all get turned on, and I identify them, is it going to change ?
Or do they get the effect when they spawn on the enemy before you pick them up ?
Check out my YouTube Channel!

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: A question about magic items effects

Post by Hazelnut »

Magic items have their effects set when they're created as far as I know. There's nothing to be gained by holding off identification.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: A question about magic items effects

Post by Interkarma »

Can confirm item powers are set at creation time. Identify just flips a switch so the powers are displayed.

I think all the item powers related to spell effects via on-use, on-equip, on-strike should be working now. Next step is the other powers and side-effects, then they can be introduced to random generation as well.

If you want to go crazy, try the console command "add magic 100" and it will stick 100 random magic items into your inventory. Just keep in mind I still have a few bugs to iron out, like icons disappearing. Should have that fixed ahead of October builds.

Post Reply