[WIP] Diglevel - basic character advancement

Post Reply
User avatar
Kimapr
Member
Posts: 27
Joined: Fri May 24, 2019 15:53
GitHub: Kimapr
IRC: Kimapr
In-game: Kimapr

[WIP] Diglevel - basic character advancement

by Kimapr » Post

This mod adds three game mechanics:
  • There is some value for each player (rage multiplier). This value increases when the player digs, attacks or receives damage by falling or by being punched. This value is clamped between 1 and some defined value. When the player doesn't dig, attacks or receives damage the value is reset to 1.
  • There are values for digging speed, damage resistance and attack power per player. If rage multiplier is bigger or equal to some value (rage mid), then upon digging, receiving damage or attacking the respective values increase. All those values, multiplied by rage multiplier affect digging speed, damage resistance and attack power of the player.
  • Over time, these values are decreased by some value e.g if you never dig, you will dig slower and slower.
Warning! This mod alters tool capabilities of tools in players' inventories (including the hand), and includes very dirty hacks to be compatible with other mods out of box
Another Warning! I'm bad at balancing things, so you probably want to tweak values at top of init.lua!
Attachments
diglevel.zip
(2.88 KiB) Downloaded 19 times
Ek59C88tAsaQuRAw6PCPsGFDozj1FuZ4

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests