DevilSupremeRO Posted February 22, 2021 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 55 Reputation: 0 Joined: 08/21/20 Last Seen: October 31, 2022 Share Posted February 22, 2021 (edited) I want to add more prize like 5-6 items anyone? OnClock1900: .@map$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )]; .@mins = .sleep / 60000; announce "[World Boss] A World Boss will appear in " + .@mins + " minutes", bc_all, 0xFF0000; sleep .sleep; monster .@map$, 153, 175, "Devils Pet", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied"; announce "[World Boss] A World Boss appeared in " + .@map$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000; end; OnWBossDied: announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000; getitem .rewardId, .rewardCount; end; OnInit: setarray .townMap$[0],"prontera","geffen"; .wBossId = 1931; // monsterID .rewardId = 7828; // reward ID .rewardCount = 50; // how many rewards .sleep = 60000; // 60000ms = 1min end; } Edited February 22, 2021 by Haruka Mayumi Code Box Quote Link to comment Share on other sites More sharing options...
0 Haruka Mayumi Posted February 22, 2021 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 485 Reputation: 271 Joined: 06/13/17 Last Seen: April 14 Share Posted February 22, 2021 OnClock1900: .@map$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )]; .@mins = .sleep / 60000; announce "[World Boss] A World Boss will appear in " + .@mins + " minutes", bc_all, 0xFF0000; sleep .sleep; monster .@map$, 153, 175, "Devils Pet", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied"; announce "[World Boss] A World Boss appeared in " + .@map$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000; end; OnWBossDied: announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000; for(.@i=0;.@i<getarraysize(.rewardId);.@i++) getitem .rewardId[.@i], .rewardCount[.@i]; end; OnInit: setarray .townMap$[0],"prontera","geffen"; .wBossId = 1931; // monsterID setarray .rewardId[0],7828,501,502,503; // reward ID setarray .rewardCount[0],50,1,2,3; // how many rewards .sleep = 60000; // 60000ms = 1min end; Quote Link to comment Share on other sites More sharing options...
0 DevilSupremeRO Posted February 22, 2021 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 55 Reputation: 0 Joined: 08/21/20 Last Seen: October 31, 2022 Author Share Posted February 22, 2021 1 hour ago, Haruka Mayumi said: OnClock1900: .@map$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )]; .@mins = .sleep / 60000; announce "[World Boss] A World Boss will appear in " + .@mins + " minutes", bc_all, 0xFF0000; sleep .sleep; monster .@map$, 153, 175, "Devils Pet", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied"; announce "[World Boss] A World Boss appeared in " + .@map$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000; end; OnWBossDied: announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000; for(.@i=0;.@i<getarraysize(.rewardId);.@i++) getitem .rewardId[.@i], .rewardCount[.@i]; end; OnInit: setarray .townMap$[0],"prontera","geffen"; .wBossId = 1931; // monsterID setarray .rewardId[0],7828,501,502,503; // reward ID setarray .rewardCount[0],50,1,2,3; // how many rewards .sleep = 60000; // 60000ms = 1min end; thanks i'll test it right away... Quote Link to comment Share on other sites More sharing options...
0 DevilSupremeRO Posted February 23, 2021 Group: Members Topic Count: 24 Topics Per Day: 0.01 Content Count: 55 Reputation: 0 Joined: 08/21/20 Last Seen: October 31, 2022 Author Share Posted February 23, 2021 22 hours ago, Haruka Mayumi said: OnClock1900: .@map$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )]; .@mins = .sleep / 60000; announce "[World Boss] A World Boss will appear in " + .@mins + " minutes", bc_all, 0xFF0000; sleep .sleep; monster .@map$, 153, 175, "Devils Pet", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied"; announce "[World Boss] A World Boss appeared in " + .@map$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000; end; OnWBossDied: announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000; for(.@i=0;.@i<getarraysize(.rewardId);.@i++) getitem .rewardId[.@i], .rewardCount[.@i]; end; OnInit: setarray .townMap$[0],"prontera","geffen"; .wBossId = 1931; // monsterID setarray .rewardId[0],7828,501,502,503; // reward ID setarray .rewardCount[0],50,1,2,3; // how many rewards .sleep = 60000; // 60000ms = 1min end; it didnt work.. it just give 1 item Quote Link to comment Share on other sites More sharing options...
Question
DevilSupremeRO
I want to add more prize like 5-6 items anyone?
OnClock1900: .@map$ = .townMap$[rand ( getarraysize ( .townMap$ ) - 1 )]; .@mins = .sleep / 60000; announce "[World Boss] A World Boss will appear in " + .@mins + " minutes", bc_all, 0xFF0000; sleep .sleep; monster .@map$, 153, 175, "Devils Pet", .wBossId, 1, strnpcinfo(3) + "::OnWBossDied"; announce "[World Boss] A World Boss appeared in " + .@map$ + " to avenge all those dead monsters adventurers killed!", bc_all, 0xFF0000; end; OnWBossDied: announce "[World Boss] " + strcharinfo(0) + " killed the World Boss! Congratulations!", bc_all, 0xFF0000; getitem .rewardId, .rewardCount; end; OnInit: setarray .townMap$[0],"prontera","geffen"; .wBossId = 1931; // monsterID .rewardId = 7828; // reward ID .rewardCount = 50; // how many rewards .sleep = 60000; // 60000ms = 1min end; }
Code Box
Link to comment
Share on other sites
3 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.