xilence01 Posted October 2, 2018 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 177 Reputation: 4 Joined: 05/23/12 Last Seen: April 16, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 Bringer Posted October 2, 2018 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 745 Reputation: 47 Joined: 03/12/14 Last Seen: 8 hours ago Share Posted October 2, 2018 try to use Suffragium Code Quote Link to comment Share on other sites More sharing options...
0 xilence01 Posted October 2, 2018 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 177 Reputation: 4 Joined: 05/23/12 Last Seen: April 16, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
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!
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.