in SGalterguardian_phase4_lunarrift.lua line 396:
local function SetPreventDeath(inst, prevent) inst.components.health:SetMinHealth( prevent and not inst.components.health:IsDead() and math.min(1, inst.components.health.currenthealth) or nil ) end
This function sets health.minhealth to nil instead of 0, causing many mods to crash because the parameter is expected to be numeric by default.
See logs for crash of showme:
Quote[00:18:52]: [string "../mods/workshop-666155465/modmain.lua"]:1495: attempt to perform arithmetic on field 'minhealth' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-666155465/modmain.lua:2728 in () ? (Lua) <2722-2733>
player = 130788 - winona (valid:true)
guid = 160755
item = 160755 - alterguardian_phase4_lunarrift (valid:true)
=[C]:-1 in (method) CallRPC (C) <-1--1>
scripts/networkclientrpc.lua:1524 in (global) HandleRPCQueue (Lua) <1505-1577>
RPC_Queue_new = table: 00000000D912B0D0
RPC_Queue_len = 1
i = 1
rpcdata = table: 000000010DF059D0
fn = function - ../mods/workshop-666155465/modmain.lua:2722
sender = 130788 - winona (valid:true)
data = table: 000000010DF058E0
tick = true
limit = 0
scripts/update.lua:42 in () ? (Lua) <33-138>
dt = 0.12697729468346
server_paused = false
With mods like ShowMe (or similar HP display mods) enabled, fight with Celestial Scion check the hp in sometimes.
There are no comments to display.
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 accountSign in
Already have an account? Sign in here.
Sign In Now