greykaiboy Posted March 5, 2015 Share Posted March 5, 2015 I would like to make a perk for my character, that when she has <50% health, she gain 3 times atk dmgso i write this: local function updatestats(inst) if inst.components.health.current <= 75 theninst.components.combat.damagemultiplier = 3 elseinst.components.combat.damagemultiplier = 1 end endand it has no effects in game, can someone please help me? Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now