Jump to content

Recommended Posts

Posted

This is my own version of Lottery/Lotti npc script.

 

Options:

 

set .npc$,"[Lotti]"; // NPC Name
set .MaxNum,10; // Total number to win
setarray .SWinNum[0],1,2,5; // Number need to win Single Reward
setarray .MWinNum[0],3,4,6; // Number need to win Multi Reward
// Setup the .MWinT if you use Give random
set    .MWinall,0; // 1 = Give all Multi Reward, 0 = Give random

// Note: .MWinall must be 0 inorder to use this)
// Note: If Not-Repeat make sure Amount of reward >= .MReward item)
// 0 = Off (Default: 1 random item only), 1 = On; 0 = Consecutive , 1 = Random; 0 = Not, 1 = Repeat Reward;
// Format: <On/Off>,<Consecutive/Random>,<Not-Repeat/Repeat>,<Amount of reward can win>
setarray .MWinT[0],1,1,1,2;

// 1 = On , 0 = off;
set .announce,1; // announce
set .announcec$,"ffc0cb"; // announce color

// Format: <item ID>,<amount>{,...};
setarray .ItemR[0],909,5,7126,5; // Item ID,Item Amount
setarray .ZenyR,1000000; // Item Requirements

// Format: <item ID>,<amount>,<Refine>{,...};
setarray .SReward[0],2301,1,10,1202,1,5,2304,1,5,2319,1,5,909,5,0,741,1,0; // Single Reward

// Format: <item ID>,<amount>,<Refine>{,....};
setarray .MReward[0],501,5,0,502,5,0,503,5,0,504,5,0; //Multiple Reward

 

________________________________
I hope you like it :)

 

Lottie.txt

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...