mmheo
New Member
- Joined
- Sep 14, 2017
- Messages
- 157
- Reaction score
- 1
im use this mod [Mod] Random Item Stats (https://otland.net/threads/mod-random-item-stats.130295/)
any one can help me to change chance for getPlayerStorageValue(cid, 170297) ?? work with player storage
change this
to be like this
anyone can help me to do it ?
use 0.4
any one can help me to change chance for getPlayerStorageValue(cid, 170297) ?? work with player storage
change this
Lua:
tiers['rare'] = {
color = 66, -- color of 'RARE' text
extra = {0, 0},
attrNames = true, -- show attribute names instead of rare
chance = {
[1] = 10000,
[2] = 5000 -- chance for 2nd stat
}
}
to be like this
Code:
tiers['rare'] = {
color = 66, -- color of 'RARE' text
extra = {0, 0},
attrNames = true, -- show attribute names instead of rare
chance = {
[1] = getPlayerStorageValue(cid, 170297),
[2] = getPlayerStorageValue(cid, 170297)-- chance for 2nd stat
}
}
anyone can help me to do it ?
use 0.4