Sergardo Posted October 30, 2022 Group: Members Topic Count: 64 Topics Per Day: 0.02 Content Count: 148 Reputation: 0 Joined: 03/06/15 Last Seen: June 2, 2023 Share Posted October 30, 2022 Request after kiling naght siger or finish Endless tower give prize "id) Quote Link to comment Share on other sites More sharing options...
0 RagEmp Posted October 30, 2022 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 10 Reputation: 3 Joined: 10/21/22 Last Seen: January 21, 2023 Share Posted October 30, 2022 (edited) 7 hours ago, Sergardo said: Request after kiling naght siger or finish Endless tower give prize "id) Look for this: OnTimer10500: set .@map$, instance_mapname("6@tower"); mapannounce .@map$,"You'll soon know. Mine is the face of death!",bc_map,"0x00ffcc"; stopnpctimer; monster .@map$,156,147,"Nacht Sieger",1956,1,instance_npcname("#4th Beeper")+"::OnMyMobDead"; end; OnMyMobDead: // You can add 'getitem 501, 100;' or something here.. donpcevent instance_npcname("Lost Soul#102")+"::OnEnable"; end; Assuming you only want to give item to the one who killed. If you want to give to each party member, just run a loop to distribute the item instead.. getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { attachrid $@partymemberaid[.@i]; getitem 501, 100; detachrid; } Edited October 30, 2022 by RagEmp Quote Link to comment Share on other sites More sharing options...
0 Sergardo Posted November 4, 2022 Group: Members Topic Count: 64 Topics Per Day: 0.02 Content Count: 148 Reputation: 0 Joined: 03/06/15 Last Seen: June 2, 2023 Author Share Posted November 4, 2022 On 10/30/2022 at 11:29 AM, RagEmp said: Look for this: OnTimer10500: set .@map$, instance_mapname("6@tower"); mapannounce .@map$,"You'll soon know. Mine is the face of death!",bc_map,"0x00ffcc"; stopnpctimer; monster .@map$,156,147,"Nacht Sieger",1956,1,instance_npcname("#4th Beeper")+"::OnMyMobDead"; end; OnMyMobDead: // You can add 'getitem 501, 100;' or something here.. donpcevent instance_npcname("Lost Soul#102")+"::OnEnable"; end; Assuming you only want to give item to the one who killed. If you want to give to each party member, just run a loop to distribute the item instead.. getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { attachrid $@partymemberaid[.@i]; getitem 501, 100; detachrid; } thank you so much sir master Quote Link to comment Share on other sites More sharing options...
Question
Sergardo
Request after kiling naght siger or finish Endless tower give prize "id)
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.