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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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