Blazing Spear Posted April 16, 2013 Group: Members Topic Count: 58 Topics Per Day: 0.01 Content Count: 208 Reputation: 1 Joined: 01/06/12 Last Seen: July 2, 2016 Share Posted April 16, 2013 is there anyway how to make command into skill. Im planning to make @storage to active skill like identify in merchant Quote Link to comment Share on other sites More sharing options...
Jarek Posted April 16, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 143 Reputation: 30 Joined: 12/23/11 Last Seen: March 9 Share Posted April 16, 2013 Guide +skill.c / skill_castend_damage_id function ... case YOUR_SKILL: if(sd) if (storage_storageopen(sd)) return -1; break; Quote Link to comment Share on other sites More sharing options...
Blazing Spear Posted April 16, 2013 Group: Members Topic Count: 58 Topics Per Day: 0.01 Content Count: 208 Reputation: 1 Joined: 01/06/12 Last Seen: July 2, 2016 Author Share Posted April 16, 2013 i already tried but when i try in game nothing happen. i put it in item when item put on enable to use storage case ALL_STORAGE: if (sd->npc_id || sd->state.vending || sd->state.buyingstore || sd->state.trading || sd->state.storage_flag) return -1; if (storage_storageopen(sd) == 1) break; is that wrong?? Quote Link to comment Share on other sites More sharing options...
Jarek Posted April 16, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 143 Reputation: 30 Joined: 12/23/11 Last Seen: March 9 Share Posted April 16, 2013 Hmm I'm tried to make new skill (but i don't create new skil 'cause it takes time and i'm too lazy, just replace code for MC_IDENTIFY) and it works All i do is replaced this case MC_IDENTIFY: if(sd) clif_item_identify_list(sd); break; with this case MC_IDENTIFY: if(sd) if (storage_storageopen(sd)) return -1; break; and wrote in the beginning #include "storage.h" What i'm doing wrong? (= Quote Link to comment Share on other sites More sharing options...
Blazing Spear Posted April 16, 2013 Group: Members Topic Count: 58 Topics Per Day: 0.01 Content Count: 208 Reputation: 1 Joined: 01/06/12 Last Seen: July 2, 2016 Author Share Posted April 16, 2013 ok i think my problem is in the client side thanks btw Quote Link to comment Share on other sites More sharing options...
Blazing Spear Posted April 21, 2013 Group: Members Topic Count: 58 Topics Per Day: 0.01 Content Count: 208 Reputation: 1 Joined: 01/06/12 Last Seen: July 2, 2016 Author Share Posted April 21, 2013 I tried it hard but when i clicked the skill still no happen. i already put it right and it appear in the misc tab but unlike other item like aura mazda when item put on the skill appear in misc tab when the item put off the skill gone in misc tab. unlike my custom skill it is already in misc tab even the item is not on or off it is active but still no happen when i clicked but when i use @useskill its 100% working Quote Link to comment Share on other sites More sharing options...
Question
Blazing Spear
is there anyway how to make command into skill. Im planning to make @storage to active skill like identify in merchant
Link to comment
Share on other sites
5 answers 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.