wealth.lua 301 B

1234567891011121314
  1. local Wealth = extend(Shruju)
  2. Wealth.name = 'Wealth'
  3. Wealth.description = 'Increases Muju\'s passive juju income rate by 50%'
  4. function Wealth:apply()
  5. ctx.player.jujuRate = ctx.player.jujuRate / 1.5
  6. end
  7. function Wealth:remove()
  8. ctx.player.jujuRate = ctx.player.jujuRate * 1.5
  9. end
  10. return Wealth