Skip to content

Dying disables all active status boost from this mod, even though the passive still remains enabled #2

@fairlylogical

Description

@fairlylogical

What the title says. this applies for every passive/status boost added in the mod.

The result is that whenever you die, you need to disable and reenable the passive for it to work again.

The root cause is in Mods\ReliableRolls\ScriptExtender\Lua\Server\Helpers\passives.lua, similarly to #1

In my opinion the StatusPropertyFlags "ApplyToDead" should be systematically added to the StatusBoost (which ensures the effect doesnt get disabled when you die).

It could also be configurable in MCM but this requires more work....

Below is the version of the function AssignDisplayFlags which i use for personal purposes, feel free to include it if you release a new version of the mod

function AssignDisplayFlags(dcl, dpi, doh, ir)  
	local flagsList = {}  
	if not ir then  
		table.insert(flagsList, "IgnoreResting")  
	end  
	if not dcl then
		table.insert(flagsList, "DisableCombatlog")
	end
	if not dpi then
		table.insert(flagsList, "DisablePortraitIndicator")
	end
	if not doh then
		table.insert(flagsList, "DisableOverhead")
	end
+	table.insert(flagsList, "ApplyToDead")
	return flagsList
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions