Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#621117 25/09/17 11:57 AM
Joined: Sep 2017
Location: Lyon-France
Kairos Offline OP
apprentice
OP Offline
apprentice
Joined: Sep 2017
Location: Lyon-France
Hi Someone can help me with this ?


Quote
Version 1
SubGoalCombiner SGC_AND
INITSECTION
DB_RestTemplates("FUR_Humans_Camping_Sleepingbag_B_4d7216c9-c21e-4ab0-b98e-97d744798912","STORY_PartyRest",10.0,17.0);
KBSECTION
IF
CharacterUsedItemTemplate(_Character,_Temp,_)
AND
DB_RestTemplates(_Temp,_Consume,_PartyRadius,_SafeRadius)
THEN
UserRest(_Character,_Consume,_PartyRadius,_SafeRadius);
EXITSECTION

ENDEXITSECTION



"STORY_PartyRest" Imo is the 3 Turn Rest buff maybe someone can help me to find where can I make it longer than this


If you don't have arguments, then just shutup and think about what you're gonna say
Joined: Jun 2013
old hand
Offline
old hand
Joined: Jun 2013
Anything that is "consumed" is a potion I believe.



If your mod is dependent on Origins, you'll see it in the Stats editor under:
Divinity: Original Sin 2 > Stats>Potion

Scroll to the right when find the entry and the properties look like this:
RESTED,100,3;

Changing the 3^ should do it. But to do that you'll have to override the stat entry in your own mod.

In the stats editor go down to your mod, should be at the bottom. Click the + sign next to stats, click potion. Then go back to the entry in Divinity, right click the row where STORY_PartyRest is and click override in and select your mod.

Then change the property.

Last edited by SniperHF; 25/09/17 06:06 PM.
Joined: Sep 2017
Location: Lyon-France
Kairos Offline OP
apprentice
OP Offline
apprentice
Joined: Sep 2017
Location: Lyon-France
OMG Dude I Love you thank you verry much !

Maybe you know how to make something like this ?

If Fight is over = Rest debuf = Remove ?

Last edited by Kairos; 26/09/17 08:38 AM.

If you don't have arguments, then just shutup and think about what you're gonna say
Joined: Jun 2013
old hand
Offline
old hand
Joined: Jun 2013
Should be fairly easy to do, sorry I missed this before I've been stupid busy the last 3 days.


I don't have the particulars off hand (so the script might be a little off), but something along the lines of:

IF
CharacterLeftCombat(_Player,_)
AND
DB_IsPlayer(_Player)
AND
CharacterIsDead(_Player,0) //gotta be alive
THEN
CharacterConsume(_Player,"STORY_PartyRest");


Like I said I'm pretty sure the script is off cause I'm just going off the top my head and not the editor. But it's pretty easy to do.

Last edited by SniperHF; 30/09/17 06:34 AM.

Moderated by  Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5