Jump to content

CheckStat() identifier for base stats


Recommended Posts

Posted

Hi all,

not sure if this is trivial or impossible. But I have trouble finding any mention of it. To my understanding CheckStat() can look up anything from stats.ids. But I find no differentiation between a base stat and a modified stat. I understand that 99% of the time you want the final modified value. That is, unless, the game will later check for your base value (as in dual-classing) and I would like to spare people the disappointment. I also checked the EEex docu but only found mention of it extending the stats.ids limit to an impressive amount - although without further specifics I could use.

Cheers,

AvA

Posted

An absurd way to check the base stats of a creature:

Clone the creature.

Clone the clone.

Check the stats of the second clone.

... It works. No scripts or items to apply effects, so it's just the base CRE. (The double cloning is specifically there to strip items; one clone strips undroppable items and turns droppable into undroppable)

Is there a better way? Maybe, though I can't really think of it.

Posted

Thanks, this is wild! I would not have come up with this solution, but it seems to actually work😮

This is the fun part of modding. Previously I would have walked though the game unknowing, now I see ghostly figures summoned at every step I take🤣

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...