Page 1 of 1

Weapons and Armor question

PostPosted: Mon Nov 12, 2012 06:01
by Nubelite
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.

PostPosted: Mon Nov 12, 2012 11:34
by sky
in minetest we have weapons they are swords and for armor search armor mod

PostPosted: Mon Nov 12, 2012 15:30
by PilzAdam

PostPosted: Mon Nov 12, 2012 18:47
by Nubelite
thank you PilzAdam, that helped a good bit. Still had to do some guessing work on values but its coming along a lot nicer now.