Jump to content

Long Duration status effects modding


Recommended Posts

I was looking into creating a semi-realistic injury mod by making the durations last much longer through rests forcing the player to swap out characters and have a larger line-up of characters. The one issue that I ran into was that status effects do not continue to count down if the character is not in the player's party. If you set the duration of a particular injury to 86400 (one day in seconds) it counts down during resting but only if that character is in the party. If a character has a status effect in the waiting bin for unused characters (not in the party) then it does not count down. Is it possible to change this?

As a side question, what is the point of BedRestDays Min and Max? I do not see any values other than 0 in statuseffects.gamedatabundle.
Edited by Xelos
  • Like 1
Link to comment
Share on other sites

I'm not sure that the approach you're taking with long duration times will work. But I am intrigued by the goal you're talking about (forcing players out of their optimal group setup).

 

If duration doesn't work, what are some other approaches you're considering?

Link to comment
Share on other sites

I don't really know enough about modding POE2 to have a different approach. I even tested the duration up to in-game of a year 365 days in seconds and it works. To be honest I do not see why status effects should freeze other than a programming simplicity. If I rest a character then store that character and play with another bringing that character out later they will still have the status effect from the rest as if time has not moved for them.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...