Jpstafe
Well-Known Member
- Joined
- Aug 8, 2011
- Messages
- 507
- Reaction score
- 68
Hello Otland community, I would like to know if it has a solution in this old scripth, this error in console that I have got, it is an old script, but I feel that it fulfills its function well, I was recommended to move to something more current but as I do not have the knowledge or time to do it, I opted for this scripth, it works perfectly.. But it only gives arm and def.. I don't know if it has to do with this error that I get on the console that doesn't give me the other stats.
Error:
I'm using TFS 1.2CreatureEvent - [TFS 1.1] Random Item Stats
Original thread(0.3+): http://otland.net/threads/mod-random-item-stats.130295/ Original author: @Cykotitan This is an old and great 0.3+ mod(from Jun 1, 2011) rewritten to 1.1, it makes monsters drop upgraded items. Doesn't work with other upgrade systems. normal item: 15:19 You see a morning...otland.net
Error:
XML:
in a timer event called from:
(Unknown scriptfile)
data/creaturescripts/scripts/randomstats.lua:138: attempt to index local 'it_u' (a nil value)
stack traceback:
[C]: in function '__index'
data/creaturescripts/scripts/randomstats.lua:138: in function 'assign_loot_Stat'