FableHaven005

  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About FableHaven005

  • Rank
    Junior Member
...
  1. I'm trying to make my character's damage go up when his sanity goes down. my current code for that is: -- Damage multiplier (optional) if inst.components.sanity.current <=31 then inst.components.combat.damagemultiplier = 1.5 elseif inst.components.sanity.current <=11 then inst.components.combat.damagemultiplier = 2 end Am I doing something wrong?
  2. I'm trying to make my character's damage go up when his sanity goes down. my current code for that is: -- Damage multiplier (optional) if inst.components.sanity.current <=31 then inst.components.combat.damagemultiplier = 1.5 elseif inst.components.sanity.current <=11 then inst.components.combat.damagemultiplier = 2 end Am I doing something wrong?