revengertmt 50 Posted June 9, 2017 Share Posted June 9, 2017 Good evening!My little problem would be that I want to do the following:The first problem50300 The Book of Competence (I want this book to jump directly M "like I have M9 read 1 book and it gives me M10")and,50404 Sword aura book (this type of book I want to read normally "like I got M9 and to make M10 to read 9 books)Like W * m2!And for the second one ....To automatically update me to MD vouchers(I tried through char_item.cpp, it still gives me error when compiling .... I'm sure I'm wrong somewhere)From sourceThank you in advance!Excuse me bad English ... Link to comment Share on other sites More sharing options...
revengertmt 50 Posted June 11, 2017 Author Share Posted June 11, 2017 UP! Link to comment Share on other sites More sharing options...
revengertmt 50 Posted June 12, 2017 Author Share Posted June 12, 2017 up! Link to comment Share on other sites More sharing options...
Denis 1474 Posted June 14, 2017 Share Posted June 14, 2017 case YOUR_ITEM_VNUM: { if (IsPolymorphed()) { return false; } int dwVnum = 0; if (item->GetVnum() == 50300) { dwVnum = item->GetSocket(0); } else { dwVnum = item->GetValue(0); } if (0 == dwVnum) { item->SetCount(item->GetCount() - 1); return false; } SetSkillLevel(dwVnum, GetSkillLevel(dwVnum)+1); } It should work Link to comment Share on other sites More sharing options...
revengertmt 50 Posted June 15, 2017 Author Share Posted June 15, 2017 don't work..... case 50300: { if (IsPolymorphed()) { return false; } int dwVnum = 0; if (item->GetVnum() == 50300) { dwVnum = item->GetSocket(0); } else { dwVnum = item->GetValue(0); } if (0 == dwVnum) { item->SetCount(item->GetCount() - 1); return false; } SetSkillLevel(dwVnum, GetSkillLevel(dwVnum)+1); } don't work!!! Link to comment Share on other sites More sharing options...
revengertmt 50 Posted June 16, 2017 Author Share Posted June 16, 2017 :up Link to comment Share on other sites More sharing options...
revengertmt 50 Posted February 8, 2018 Author Share Posted February 8, 2018 #up Link to comment Share on other sites More sharing options...
BackPlayer 55 Posted February 10, 2018 Share Posted February 10, 2018 It'll use 1 book upgrade Skill Master, M1 (1book) --> M2 (1book) ---> M3 (1book) ---> M4.. Search on char_skill.cpp: Spoiler int need_bookcount = GetSkillLevel(dwSkillVnum) - 20; change it to: Spoiler int need_bookcount = 0; 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