Jump to content
  • 0
Sign in to follow this  
mleo1

I wanna remove the name added to the skull dropped when player dies

Question

1 answer to this question

Recommended Posts

  • 0

pc.c

if( battle_config.bone_drop==2	 || (battle_config.bone_drop==1 && map->list[sd->bl.m].flag.pvp)	) {		struct item item_tmp;		memset(&item_tmp,0,sizeof(item_tmp));		item_tmp.nameid=ITEMID_SKULL_;		item_tmp.identify=1;		item_tmp.card[0]=CARD0_CREATE;		item_tmp.card[1]=0;		item_tmp.card[2]=GetWord(sd->status.char_id,0); // CharId		item_tmp.card[3]=GetWord(sd->status.char_id,1);		map->addflooritem(&item_tmp,1,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0);	}

Replace all cards setting to 0;

Share this post


Link to post
Share on other sites

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.