Jump to content

Recommended Posts

but it always crashes no matter what i do. it has a problem with the wilson prefab. Here is the code. 

ModMain: 

local common_postinit = function(inst)  --Insert the following code into the character's common_postinit
    inst.task = inst:DoPeriodicTask(0.5, health_damage)
    end
    inst.components.combat.damagemultiplier = 1.2 - 0.5 * 
    inst.components.health:GetPercentWithPenalty()
end

Wilson.lua 

local function health_damage(inst)
end

Ahshit.JPG

HereWe.JPG

GoAgain.JPG

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...