zabuzo
Well-Known Member
- Joined
- Jun 10, 2016
- Messages
- 238
- Reaction score
- 54
I'm using a little edited script version from:
https://otland.net/threads/mod-random-item-stats.130295/
But i want to remove percents thing on this base:
http://pastebin.com/BvnDST54
I mean
Not more (its how working on script)
And be it (how i want)
@imkingran tried, but he don't know too, thats he tried:
http://hastebin.com/ekovicotif.lua
But on him script, numbers came big like this:
It's shoudnt came like
Because of this parts:
31~68
From this?
https://otland.net/threads/mod-random-item-stats.130295/
But i want to remove percents thing on this base:
http://pastebin.com/BvnDST54
I mean
Code:
You see a bone club (Atk:12, Def:8).
Not more (its how working on script)
Code:
You see a deadly bone club (Atk:12 +5, Def:8). [Attack: +38%]
And be it (how i want)
Code:
You see a deadly bone club (Atk:12 +2, Def:8). [Attack: +2]
@imkingran tried, but he don't know too, thats he tried:
http://hastebin.com/ekovicotif.lua
But on him script, numbers came big like this:
Code:
03:44 You see an epic longsword (Atk:17 +952, Def:14).
It weighs 42.00 oz.
[Attack: +5600]
[Attack Speed: +48%]
Code:
03:44 You see an epic short sword (Atk:11, Def:11 +418).
It weighs 35.00 oz.
[Defense: +3800]
It's shoudnt came like
Because of this parts:
31~68
Code:
extra = {6, 8}, -- additional percent bonus
Code:
percent = {25, 50}
From this?
Code:
tiers['epic'] = {
color = 35,
extra = {6, 8}, -- additional percent bonus
chance = {
[1] = 3333,
[2] = 25000
}
}
Code:
attr['deadly'] = {
attr = 'extraAttack',
base = 'attack',
name = 'Attack',
types = {MELEE, DISTANCE, WAND},
usePercents = false,
percent = {25, 50}
}