Jump to content

Ice King - The king of iiiiiiiiiice


Recommended Posts

 

@EulenMarie:

 

Replace

	inst:AddComponent("armor")	inst.components.armor:InitCondition(10000000000, 0.5)

for

	inst:AddComponent("armor")	inst.components.armor:InitCondition(20, 0.5)	local old_TakeDamage = inst.components.armor.TakeDamage	inst.components.armor.TakeDamage = function(self, damage_amount)		local owner = self.inst.components.inventoryitem.owner		if owner and owner.prefab == "iceking" then			damage_amount = 0		end		old_TakeDamage(self, damage_amount)	end

 

@DarkXero:

 

I Think it works fine :D

 

Link to comment
Share on other sites

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
 Share

×
  • Create New...