Jump to content

Recommended Posts

The code in question:

	inst:ListenForEvent("onhitother", function(inst)
	if inst.components.sanity <= 37 then
	inst.components.combat.damagemultipler = 0.5
	else return
	end
end)

I have attached my entire prefab if needed

wayne.lua

Edited by Earthyburt

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