I tried to look around and even played around with the numbers a little. I am trying to set up a few weapons and armor (using the armor mod) for a server i will soon be hosting. The idea is a gradual progression of strength.
wood sword --> wood armor 5 DMG
Wood sword --> bronze armor 4 DMG
Wood sword --> steel armor 3 DMG
Bronze sword --> bronze armor 5 DMG and so on continuing the trend of 5DMG to the its own armor, but minus 1 for every armor lvl it goes up.
while at the same time increasing in dmg for its lower armor.
Bronze sword --> wood armor 6 DMG
So my question is how do i obtain this from this confusing pile of numbers below. Further more armor mod has only 1 lvl input. I figured out 1 is strongest and 2 is weaker. but how does that work with level=3,fleshy=3,snappy=3,choppy=3 that is in the api.lua
fleshy={times={[2]=0.80, [3]=0.40}, uses=160, maxlevel=2},
snappy={times={[2]=0.80, [3]=0.40}, uses=160, maxlevel=1},
choppy={times={[3]=0.90}, uses=160, maxlevel=0}
I have 6 levels of armor, and will have 6 different swords as well. Perhaps an example for wood armor and bronze with the weapons would be very helpful. Then i could see the pattern a bit better hopefully.
Weapons and Armor question
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Maybe this helps: https://github.com/celeron55/minetest/b ... i.txt#L587
For the level field read this: https://github.com/celeron55/minetest/b ... i.txt#L493
For the level field read this: https://github.com/celeron55/minetest/b ... i.txt#L493
Who is online
Users browsing this forum: No registered users and 39 guests