osa519 Posted June 12 Posted June 12 (edited) Almost all vanilla resources are subtractive ie. You got a stack after a long/short rest and you spend them. I'm currently trying to get my modded resource to add, ie. On stun or spell cast, gain a permanent action resource. Turning it into a BOOST doesn't work since boosts are timed. If I freeze the duration, it stops adding or it keeps adding but doesn't subtract. Any idea, thanks. Edited June 13 by osa519
CatastrophicalCat Posted June 12 Posted June 12 I'm pretty new to modding so take these as just some ideas you could try that i with my limited knowledge think could work: looking at the regain spellslot or turn sorcery points into spell slot spells? making it into a passive? or look at the curse, i know that one stacks at least the one you can get from stealing stuff in act 3 in the temples cellar (and surely can be changed not to be removed on a long rest?)
osa519 Posted June 13 Author Posted June 13 Yea I tried the sourcery points, but it's RestoreResource like this. But my resources are defaulted to 1 since it's supposed to be additive. I tried changing it to ActionResource(Corpses,2,0) but that didn't work lol. Reveal hidden contents new entry "Shout_ArcaneRecovery_1" type "SpellData" data "SpellType" "Shout" using "Shout_ArcaneRecovery" data "SpellContainerID" "Shout_ArcaneRecovery" data "ContainerSpells" "" data "SpellProperties" "RestoreResource(SpellSlot,1,1)" data "DisplayName" "hc7f48f18ga003g4998g856cg67a9fac4f0c2;2" data "Description" "h3530861cg7151g43f4gaeacg071ea5cf0e5c;3" data "DescriptionParams" "1" data "SpellFlags" "" data "PrepareEffect" "271665f4-5c3c-4bb4-933d-8a7daf8268b5" data "CastEffect" "b88e4a1e-4eef-470c-8d12-6db53c48a1e8" What I currently have by tweaking Elixir for spell slots. Corpses do go up whenever the boost is triggered, but now the amount of resources doesn't go down. Reveal hidden contents new entry "CORPSE_2_TECH" type "StatusData" data "StatusType" "BOOST" data "DisplayName" "hb8c47059ge0cbg4dd1ga73fge48565405199" data "Description" "h859f082ag6ac7g44f6gab4eg437f0a9e195b" data "DescriptionParams" "1" data "Icon" "Status_Turned" data "StackId" "CORPSE_2_TECH" data "StackType" "Overwrite" data "Boosts" "ActionResource(Corpses,2,0)" data "StatusEffect" "1fb71b51-1f23-4231-a6d3-ec51eef02e26" data "StatusPropertyFlags" "DisableOverhead;MultiplyEffectsByDuration;FreezeDuration;DisableCombatlog;IgnoreResting" new entry "CORPSE_2" type "StatusData" data "StatusType" "BOOST" data "DisplayName" "hb8c47059ge0cbg4dd1ga73fge48565405199;2" data "Description" "h859f082ag6ac7g44f6gab4eg437f0a9e195b" data "DescriptionParams" "1" data "Icon" "Status_Turned" data "StackId" "CORPSE_2" data "StackType" "Overwrite" data "Boosts" "" data "StatusEffect" "1fb71b51-1f23-4231-a6d3-ec51eef02e26" data "StatusPropertyFlags" "IgnoreResting;DisableOverhead;DisableCombatlog;DisablePortraitIndicator" data "OnApplyFunctors" "ApplyStatus(CORPSE_2_TECH,100,Target.CORPSE_2_TECH.Duration+1)" Ima keep messing around with it. I feel that the Elixir code is the best right now, unless someone else has a better alternative. I feel like it's really simple and I can't find it lol.
osa519 Posted June 13 Author Posted June 13 SOLVED! Reveal hidden contents GROUND:ApplyStatus(SELF,CORPSE_2_TECH,100,Target.CORPSE_2_TECH.Duration-5) ^ Using this code for summoning allows me to remove the BOOST frozen duration along with the resource cost. Lmao, I just tried soooo many random combinations in the past 2 hrs. Feels good when one sticks.
Recommended Posts