FireFace93 Posted January 2, 2018 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 12/18/16 Last Seen: June 8, 2018 Share Posted January 2, 2018 Hello everyone, can you help me? 1) I add custom card, which player can insert in 4th slot of headgear. 2) I add this custom card in item_noequip.txt (format: <item id>,<mode>) for example 4 - WoE But this don't work, and player can equip item with this custom card on WoE. I think, that there are no checks about card in 4th slot in SRC, can anyone can help me ? I'm not asking from you ready-made solutions, but rather point more of where to do the fix! Thx! Quote Link to comment Share on other sites More sharing options...
0 FireFace93 Posted January 3, 2018 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 12/18/16 Last Seen: June 8, 2018 Author Share Posted January 3, 2018 i find this pc.c in static int pc_isAllowedCardOn(struct map_session_data *sd,int s,int eqindex,int flag) ///* scan for enchant armor gems */ if( item->card[MAX_SLOTS - 1] && s < MAX_SLOTS - 1 ) s = MAX_SLOTS - 1; but simple enhant rune in my armor i can equip (item_noeqip allready setted) Quote Link to comment Share on other sites More sharing options...
Question
FireFace93
Hello everyone, can you help me?
1) I add custom card, which player can insert in 4th slot of headgear.
2) I add this custom card in item_noequip.txt (format: <item id>,<mode>) for example 4 - WoE
But this don't work, and player can equip item with this custom card on WoE.
I think, that there are no checks about card in 4th slot in SRC, can anyone can help me ?
I'm not asking from you ready-made solutions, but rather point more of where to do the fix!
Thx!
Link to comment
Share on other sites
1 answer to this question
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.