xilence01 Posted October 2, 2018 Posted October 2, 2018 Hi, I've successfully implemented a soul link for Gunslingers (SL_GUNNER) on my server. I want to add an effect that will reduce the cast time of the Tracking skill to 70% (or remove it totally) when the GS is soul linked. I tried putting this code in skill.c BUT it failed case GS_TRACKING: if (sd && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_GUNNER) time = 0; break; Any help will be appreciated. Thanks! Quote
0 xilence01 Posted October 2, 2018 Author Posted October 2, 2018 On 10/2/2018 at 6:59 PM, Bringer said: try to use Suffragium Code Hmmm, tried inserting this, but nothing happens: if (sc->data[SC_SUFFRAGIUM]) { if(!(flag&2)) time -= time * sc->data[SC_SUFFRAGIUM]->val2 / 100; //Suffragium ends even if the skill is not affected by it status_change_end(bl, SC_SUFFRAGIUM, INVALID_TIMER); } if (sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_GUNNER && skill_id == GS_TRACKING) { if(!(flag&2)) time -= time * 50 / 100; } UP UP up Quote
Question
xilence01
Hi, I've successfully implemented a soul link for Gunslingers (SL_GUNNER) on my server.
I want to add an effect that will reduce the cast time of the Tracking skill to 70% (or remove it totally) when the GS is soul linked.
I tried putting this code in skill.c BUT it failed
Any help will be appreciated. Thanks!
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.