koko24 1 Posted June 1, 2015 (edited) i want the behaviour to be if Stalker is in Soul Link Status very Strip Skill consume 1 glist even if fail or succed heres the source code i found // By pass FCP when using single strip skills by 15%(requires Glistening Coat). if ( sd && tsc && sd->sc.data[SC_SOULLINK] && sd->sc.data[SC_SOULLINK]->val2 == SL_ROGUE && rand()%100 < 15 && ( skill_id == RG_STRIPWEAPON && tsc->data[SC_PROTECTWEAPON] || skill_id == RG_STRIPSHIELD && tsc->data[SC_PROTECTSHIELD] || skill_id == RG_STRIPARMOR && tsc->data[SC_PROTECTARMOR] || skill_id == RG_STRIPHELM && tsc->data[SC_PROTECTHELM] ) ) { int item_id = 7139; // Glistening Coat int ii; ARR_FIND( 0, MAX_INVENTORY, ii, sd->status.inventory[ii].nameid == item_id ); if ( ii < MAX_INVENTORY ) { pc->delitem( sd, ii, 1, 0, 0, LOG_TYPE_CONSUME); switch ( skill_id ) { case RG_STRIPWEAPON: status_change_end( bl, SC_PROTECTWEAPON, INVALID_TIMER ); sc_start( NULL, bl, SC_NOEQUIPWEAPON, 100, skill_lv, d ); break; case RG_STRIPSHIELD: status_change_end( bl, SC_PROTECTSHIELD, INVALID_TIMER ); sc_start( NULL, bl, SC_NOEQUIPSHIELD, 100, skill_lv, d ); break; case RG_STRIPARMOR: status_change_end( bl, SC_PROTECTARMOR, INVALID_TIMER ); sc_start( NULL, bl, SC_NOEQUIPARMOR, 100, skill_lv, d ); break; case RG_STRIPHELM: status_change_end( bl, SC_PROTECTHELM, INVALID_TIMER ); sc_start( NULL, bl, SC_NOEQUIPHELM, 100, skill_lv, d ); break; } clif->skill_nodamage(src,bl,skill_id,skill_lv,1); break; } } Done thanks Sir Ancyker Edited June 1, 2015 by koko24 Quote Share this post Link to post Share on other sites
0 jaiko23 1 Posted July 14, 2015 (edited) erm can someone tell me where to put this code? XD thanks ! can i just add this code anywhere at skill.c? okay nevermind did it on my own Edited July 14, 2015 by jaiko23 Quote Share this post Link to post Share on other sites
i want the behaviour to be
if Stalker is in Soul Link Status
very Strip Skill consume 1 glist even if fail or succed
heres the source code i found
Done thanks Sir Ancyker
Edited by koko24Share this post
Link to post
Share on other sites