Jump to content

  •  

Photo

Change Plugin Costume Item


  • Please log in to reply
No replies to this topic

#1 Like it~*

Like it~*

    Advanced Member

  • Members
  • PipPipPip
  • 150 posts

Posted 23 April 2017 - 01:04 AM

What do I need to change so that the command does not convert the item's status, bonus, etc, only its visual part?

 

 

topic plugin: http://herc.ws/board...e-item-plugins/

 

 

@edit

I found a topic with the same request, however the resolution is with a patch and I like it as a plugin, could anyone convert it or edit the original plugin?

http://herc.ws/board...tem-adds-stats/

 

Patch by Annieruru

 

 src/map/status.c | 3 +++ 1 file changed, 3 insertions(+)diff --git a/src/map/status.c b/src/map/status.cindex 699e734..7223a04 100644--- a/src/map/status.c+++ b/src/map/status.c@@ -2317,6 +2317,9 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt) { 			continue; 		if(!sd->inventory_data[index]) 			continue;+		if ( i >= EQI_COSTUME_TOP || i <= EQI_SHADOW_ACC_L )+			if ( MakeDWord(sd->status.inventory[index].card[2],sd->status.inventory[index].card[3]) == 999998 )+				continue;  		for(k = 0; k < map->list[sd->bl.m].zone->disabled_items_count; k++) { 			if( map->list[sd->bl.m].zone->disabled_items[k] == sd->inventory_data[index]->nameid ) {

 

@edit2

I apologize to everyone, because I only realized that the plugin already has this functionality. The problem is in the main post of the official author, as he updated the plugin but not the description of the main topic post.

 

Spoiler

 

 

Please, ask some moderators to delete or close the topic! Thank you!

 

 Solved!  :)


Edited by Like it~*, 23 April 2017 - 01:51 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 26 user(s)