Jump to content
  • 0

Question

8 answers to this question

Recommended Posts

Posted (edited)

I suggest looking at this post,the original creator is CarlosHenrq on eAthena,it's a source edit adding getitemparty,a scripting command that does just that,gives the whole party an item.

Link to original post:

http://www.eathena.ws/board/index.php?showtopic=252556

Link to the patch:

http://carlos-scripts.googlecode.com/svn/snippets/eAthena/3ceam/getitemparty.patch

Hope this is somewhat what you were looking for.

Edited by Pavi
Posted

show your script so that other member can help you edit accordingly..

and elaborate how you want the leader to get it..

sorry for the late reply !

i'm using the default Endless Tower instance in rAthena. we'll after they killed the Naght Seiger Boss the party leader get's an item for example Apple #512 in his/her inventory

Posted

I'd just use:

OnNPCKillEvent:

if(killedrid == 1956) { getitem 501,1; }

Granted, that wouldn't go to the party leader-- it'd go to someone in the party, but that could perhaps be useful if you don't want to use an event label.

Otherwise, for ET:

Find:

OnTimer10500:

instance_announce 0,"You'll soon know. Mine is the face of death!",bc_map,"0x00ffcc";

stopnpctimer;

monster "6@tower",156,147,"Nacht Sieger",1956,1,instance_npcname("#4th Beeper", instance_id())+"::OnMyMobDead";

end;

OnMyMobDead:

donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnEnable";

end;

Add:

OnMyMobDead:

getitem ###,#;

donpc...

Still doesn't go to the party leader, but too lazy to write that portion out. xP

Posted (edited)

I'd just use:

OnNPCKillEvent:

if(killedrid == 1956) { getitem 501,1; }

Granted, that wouldn't go to the party leader-- it'd go to someone in the party, but that could perhaps be useful if you don't want to use an event label.

Otherwise, for ET:

Find:

OnTimer10500:

instance_announce 0,"You'll soon know. Mine is the face of death!",bc_map,"0x00ffcc";

stopnpctimer;

monster "6@tower",156,147,"Nacht Sieger",1956,1,instance_npcname("#4th Beeper", instance_id())+"::OnMyMobDead";

end;

OnMyMobDead:

donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnEnable";

end;

Add:

OnMyMobDead:

getitem ###,#;

donpc...

Still doesn't go to the party leader, but too lazy to write that portion out. xP

Like this ?

OnNPCKillEvent:
OnMyMobDead:
donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnEnable";
if(killedrid == 1956) { getitem 501,1; }
end;

Edited by SlashGeeGee
Posted

if you want it to give to only party leader..

you can try this

getitem 607,1,getpartyleader( getcharid(1),1 );

I'll put it here right ?

OnMyMobDead:
donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnEnable";
getitem 607,1,getpartyleader( getcharid(1),1 );
end;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...