Weapons and Armor question

Post Reply
User avatar
Nubelite
Member
Posts: 161
Joined: Mon Jul 16, 2012 23:10

Weapons and Armor question

by Nubelite » Post

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.

User avatar
sky
Member
Posts: 152
Joined: Tue Oct 16, 2012 11:59
Location: SKY

by sky » Post

in minetest we have weapons they are swords and for armor search armor mod

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post


User avatar
Nubelite
Member
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » Post

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.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 7 guests