speery
New Member
- Joined
- Mar 16, 2017
- Messages
- 26
- Reaction score
- 1
I'm trying to use this random items stats
A edited version of this:
[Mod] Random Item Stats
My edited version:
hastebin
With modification to remove percents sometimes like here in this part:
why helmets, legs works
armors,swords,clubs,axes,boots work with wrong math
shields just dont work not even enchanting
Anybody know why shield not work and armors,swords,clubs,axes,boots work with wrong math?
A edited version of this:
[Mod] Random Item Stats
My edited version:
hastebin
With modification to remove percents sometimes like here in this part:
Code:
if n.usePercents then
doItemSetAttribute(tmpItem, 'description', '[' .. n.name .. ': +' .. percent .. '%]' .. (desc == '' and '' or '\n' .. desc))
else
doItemSetAttribute(tmpItem, 'description', '[' .. n.name .. ': +' .. percent / 100 .. ']' .. (desc == '' and '' or '\n' .. desc))
end
why helmets, legs works
Code:
19:11 You see strong leather legs (Arm:3).
It weighs 18.00 oz.
[Armor: +2]
19:11 You see strong leather legs (Arm:2).
It weighs 18.00 oz.
[Armor: +1]
You see a strong leather helmet (Arm:4).
[Armor: +3]
armors,swords,clubs,axes,boots work with wrong math
Code:
19:13 You see a strong leather armor (Arm:12).
It weighs 60.00 oz.
[Armor: +2]
19:13 You see a strong leather armor (Arm:8).
It weighs 60.00 oz.
[Armor: +1]
19:12 You see a legendary studded club (Atk:9, Def:8 +32).
[Attack Speed: +25%]
[Defense: +4]
19:12 You see a deadly studded club (Atk:9 +27, Def:8).
[Attack: +3]
19:12 You see a fortified studded club (Atk:9, Def:8 +16).
[Defense: +2]
19:12 You see a deadly studded club (Atk:9 +27, Def:8).
[Attack: +3]
19:12 You see a fortified hand axe (Atk:10, Def:4 +8).
[Defense: +2]
19:21 You see strong leather boots (Arm:6).
It weighs 9.00 oz.
[Armor: +1]
19:21 You see strong leather boots (Arm:12).
It weighs 9.00 oz.
[Armor: +3]
19:21 You see legendary leather boots (Arm:15).
It weighs 9.00 oz.
[Armor: +4]
shields just dont work not even enchanting
Anybody know why shield not work and armors,swords,clubs,axes,boots work with wrong math?
Last edited: