kalabasa Posted March 10, 2021 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Share Posted March 10, 2021 i want to prevent casting cicada skin shed skill until all charges are all used Quote Link to comment Share on other sites More sharing options...
1 Haruka Mayumi Posted March 10, 2021 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 485 Reputation: 271 Joined: 06/13/17 Last Seen: April 14 Share Posted March 10, 2021 (edited) skill.cpp #ifdef RENEWAL case GS_MAGICALBULLET: #endif case NJ_KASUMIKIRI: case NJ_UTSUSEMI: + if( sd && skill_id == NJ_UTSUSEMI ){ + struct status_change* sc = status_get_sc(src); + + if( sc && sc->data[SC_UTSUSEMI] ) + { + clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); + break; + } + } case NJ_NEN: case NPC_DEFENDER: case NPC_MAGICMIRROR: Edited March 10, 2021 by Haruka Mayumi 1 Quote Link to comment Share on other sites More sharing options...
0 kalabasa Posted March 11, 2021 Group: Members Topic Count: 123 Topics Per Day: 0.05 Content Count: 478 Reputation: 14 Joined: 11/30/17 Last Seen: January 23 Author Share Posted March 11, 2021 14 hours ago, Haruka Mayumi said: skill.cpp #ifdef RENEWAL case GS_MAGICALBULLET: #endif case NJ_KASUMIKIRI: case NJ_UTSUSEMI: + if( sd && skill_id == NJ_UTSUSEMI ){ + struct status_change* sc = status_get_sc(src); + + if( sc && sc->data[SC_UTSUSEMI] ) + { + clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); + break; + } + } case NJ_NEN: case NPC_DEFENDER: case NPC_MAGICMIRROR: Helpful as always thanks again!!! Quote Link to comment Share on other sites More sharing options...
Question
kalabasa
i want to prevent casting cicada skin shed skill until all charges are all used
Link to comment
Share on other sites
2 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.