Sergardo Posted October 30, 2022 Posted October 30, 2022 Request after kiling naght siger or finish Endless tower give prize "id) Quote
0 RagEmp Posted October 30, 2022 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
0 Sergardo Posted November 4, 2022 Author 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
Question
Sergardo
Request after kiling naght siger or finish Endless tower give prize "id)
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.