Takuyakii Posted October 15, 2022 Group: Members Topic Count: 39 Topics Per Day: 0.02 Content Count: 208 Reputation: 10 Joined: 08/30/19 Last Seen: 4 hours ago Share Posted October 15, 2022 Does anyone can convert this into latest git? Quote Link to comment Share on other sites More sharing options...
Remix_ Posted March 30 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 10 Reputation: 6 Joined: 03/14/24 Last Seen: 23 hours ago Share Posted March 30 On 10/15/2022 at 5:28 PM, Takuyakii said: Does anyone can convert this into latest git? Code Update: Old: // Start costume conversion logic (1) if(!strcmpi(command+1, "costumeitem")) { if(!battle_config.reserved_costume_id) { clif_displaymessage(fd, "Costume conversion is disabled. Set a value for reserved_costume_id in your battle.conf file."); return -1; } if(!(item_data[j]->equip&EQP_HEAD_LOW) && !(item_data[j]->equip&EQP_HEAD_MID) && !(item_data[j]->equip&EQP_HEAD_TOP) && !(item_data[j]->equip&EQP_COSTUME_HEAD_LOW) && !(item_data[j]->equip&EQP_COSTUME_HEAD_MID) && !(item_data[j]->equip&EQP_COSTUME_HEAD_TOP)) { clif_displaymessage(fd, "You cannot costume this item. Costumes only work for headgears."); return -1; } costume = 1; } // End costume conversion logic (1) New(Tested on Latest rA): // Start costume conversion logic (1) if(!strcmpi(command+1, "costumeitem")) { if(!battle_config.reserved_costume_id) { clif_displaymessage(fd, "Costume conversion is disabled. Set a value for reserved_costume_id in your battle.conf file."); return -1; } if(!(item->equip&EQP_HEAD_LOW) && !(item->equip&EQP_HEAD_MID) && !(item->equip&EQP_HEAD_TOP) && !(item->equip&EQP_COSTUME_HEAD_LOW) && !(item->equip&EQP_COSTUME_HEAD_MID) && !(item->equip&EQP_COSTUME_HEAD_TOP)) { clif_displaymessage(fd, "You cannot costume this item. Costumes only work for headgears."); return -1; } costume = 1; } // End costume conversion logic (1) Quote Link to comment Share on other sites More sharing options...
Dev j Posted March 31 Group: Members Topic Count: 17 Topics Per Day: 0.05 Content Count: 79 Reputation: 1 Joined: 06/22/23 Last Seen: Wednesday at 02:05 PM Share Posted March 31 The item effect of costume items are not working Quote Link to comment Share on other sites More sharing options...
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.