AinsLord Posted June 9, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Share Posted June 9, 2017 (edited) anyone have stat seller script NPC but instead of Zeny used to buy it will ask some items to have like 10 stat points thnx for the help EDIT: BASIC STAT ADD LIKE STR / AGI / ETC Edited June 9, 2017 by whodhell Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted June 9, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted June 9, 2017 prontera,150,150,5 script Stat Dealer 99,{ set .@item,7720; // Adjust the item id here set .@name$,"[Stat Dealer]"; //Name of NPC in Dialogue can be changed here mes .@name$; mes "Good-day, I'm here to sell you Stat Points, each 10 Stat Points will cost you 1 "+getitemname(.@item)+" (id: "+.@item+")"; if(countitem(.@item) < 1) goto L_NoPay; next; mes .@name$; mes "How many "+getitemname(.@item)+" would you like to use?"; mes "You have ^00FF00"+countitem(.@item)+"^000000 "+getitemname(.@item)+""; mes "Use '0' to cancel transaction."; input .@input; if(.@input == 0) close; if(.@input > countitem(.@item)) goto L_NoPay; next; mes .@name$; mes "You would like to purchase "+.@input*10+" Status Points with "+.@input+" "+getitemname(.@item)+""; switch(select("Yes:No")){ case 1: mes .@name$; mes "Transaction is completed, just the last few steps.."; next; mes .@name$; mes "Transaction is completed, just the last few steps.."; mes ".."; next; mes .@name$; mes "Transaction is completed, just the last few steps.."; mes ".."; mes "..."; next; mes .@name$; mes "Transaction is completed, just the last few steps.."; mes ".."; mes "..."; mes "...."; next; delitem .@item,.@input; set StatusPoint, StatusPoint + (.@input*10); mes .@name$; mes "Transaction is completed, just the last few steps.."; mes ".."; mes "..."; mes "...."; mes "Transaction has been completed."; mes "Have a nice day."; close; case 2: mes .@name$; mes "Have a nice day."; close; } L_NoPay: mes "I'm sorry but you don't have the required payment to proceed"; close; } 2 Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted June 11, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted June 11, 2017 thnk u very much ill try this Quote Link to comment Share on other sites More sharing options...
Question
AinsLord
anyone have stat seller script NPC but instead of Zeny used to buy
Edited by whodhellit will ask some items to have like 10 stat points
thnx for the help
EDIT:
BASIC STAT ADD LIKE STR / AGI / ETC
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.