Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // https://rathena.org/board/topic/107637-bosslair-mvp-room-please/
- prontera,155,181,5 script Sample#bosslair 4_F_KAFRA1,{
- doevent "boss_lair_main::OnTalk";
- }
- - script boss_lair_main -1,{
- OnTalk:
- mes "You need "+.amount+"x "+getitemname( .item_id );
- if ( countitem( .item_id ) >= .amount ) {
- .@party_id = getcharid(1);
- if ( !.@party_id ) {
- mes "Form a party.";
- }
- else if ( getmapusers( .map$ ) >= 1 ) {
- mes "The room is currently occupied.";
- }
- else {
- warpparty .map$,0,0,.@party_id;
- donpcevent .npc_name$+"::OnSpawn";
- }
- }
- close;
- OnInit:
- .map$ = "guild_vs5";
- .item_id = 7227;
- .amount = 10;
- .npc_name$ = strnpcinfo(3);
- end;
- OnKill:
- sleep 60000;
- OnSpawn:
- monster .map$,0,0,"--ja--",-3,1,.npc_name$+"::OnKill";
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement