Jump to content

Help with normal attacks


Recommended Posts

change attack speed

 

If you know how to make a new animation with less frames than the attack one, then you can make that your attack.

So, for you, very difficult. Think of something else.

 

 

 

damage multiplier to a specific enemy
-- inside master_postinit of character.lualocal my_multiplier = 2local old_CalcDamage = inst.components.combat.CalcDamageinst.components.combat.CalcDamage = function(self, target, weapon, multiplier)	if target and target.prefab == "spider" then		multiplier = (multiplier or 1) * my_multiplier	end	return old_CalcDamage(self, target, weapon, multiplier)end
Edited by DarkXero
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...