Zeph 8 Posted May 20, 2018 Share Posted May 20, 2018 Items: 324, 325 and 326 don't works. Type 18 and subtype 10 My quest: https://pastebin.com/XZxzriWW Link to comment Share on other sites More sharing options...
boaspessoal 8 Posted May 20, 2018 Share Posted May 20, 2018 I think you're trying to call a value out of range. So you use 324/325/326 vnum and then later you add: Spoiler local esem = {50, 100, 200} But then you call for: Spoiler pc.setqf("achievement_points", aktualne + esem[item.vnum-80009]) Link to comment Share on other sites More sharing options...
Zeph 8 Posted May 20, 2018 Author Share Posted May 20, 2018 12 minut temu, boaspessoal napisał: I think you're trying to call a value out of range. So you use 324/325/326 vnum and then later you add: Ukryj treść local esem = {50, 100, 200} But then you call for: Ukryj treść pc.setqf("achievement_points", aktualne + esem[item.vnum-80009]) What should the quest look like? Link to comment Share on other sites More sharing options...
boaspessoal 8 Posted May 20, 2018 Share Posted May 20, 2018 1 minute ago, Zeph said: What should the quest look like? Something like: Spoiler pc.setqf("achievement_points", aktualne + esem[item.vnum-324]) So it returns esem[0,1,2] whenever you are using 324,325,326. Link to comment Share on other sites More sharing options...
Zeph 8 Posted May 20, 2018 Author Share Posted May 20, 2018 33 minuty temu, boaspessoal napisał: Something like: Odkryj ukrytą treść pc.setqf("achievement_points", aktualne + esem[item.vnum-324]) So it returns esem[0,1,2] whenever you are using 324,325,326. It's working. pc.setqf("achievement_points", aktualne + esem[item.vnum-323]) Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now