Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - script max_lv 99,{
- // Configuration
- OnInit:
- .max_base = 99;
- .max_job = 50;
- .item_id = 7825;
- .amount = 1;
- end;
- // Script
- OnPCBaseLvUpEvent:
- OnPCJobLvUpEvent:
- // Determine if Base Level and Job Level are max
- if (BaseLevel == .max_base && JobLevel == .max_job) {
- // Receive reward
- getitem .item_id, .amount;
- // Display confirmation message
- message strcharinfo(0), "Congratulations! You have received "+ .amount +" "+ getitemname(.item_id) +" for reaching the max level!";
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement