ratedbananas Posted May 8, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 07/10/12 Last Seen: June 25, 2021 Share Posted May 8, 2021 Hello everyone anyone can tell me how can i put 5sec delay after asura strike? Quote Link to comment Share on other sites More sharing options...
0 Mastagoon Posted May 8, 2021 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 63 Reputation: 38 Joined: 07/04/19 Last Seen: December 14, 2024 Share Posted May 8, 2021 (edited) I'm assuming you mean the 5 second window where you cannot regain SP from any sources after using Asura strike. It would be much simpler to just add a 5 seconds cooldown to the skill istelf: Find the entry for MO_EXTREMITYFIST inside db/pre-re/skill_db.yml and add a 5 seconds cooldown like so: HitCount: 1 CopyFlags: Skill: Plagiarism: true Reproduce: true CastCancel: true Cooldown: 5000 <<<<<<<<<< add this line CastTime: .... However if you want the skill to behave like renewal, you need to do the following: pc.cpp: search for this line and edit it like this: //#ifdef RENEWAL <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< comment or remove this line if (sd->sc.data[SC_EXTREMITYFIST2]) sp = 0; //#endif< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< comment or remove this line script_constants.hpp: search for SC_EXTREMITYFIST2 and edit this line: //#ifdef RENEWAL <<<<<<<<<<< comment or remove this line export_constant(SC_EXTREMITYFIST2); //#endif <<<<<<<<<<< comment or remove this line script.cpp: search for SC_EXTREMITYFIST2 and edit this line: //#ifdef RENEWAL if( sd->sc.data[SC_EXTREMITYFIST2] ) sp = 0; //#endif skill.cpp, status.hpp, status.cpp: basically you want find every occurrence of SC_EXTREMITY_FIST2 and remove the renewal condition check from it. There should be 7 occurrences inside skill.cpp, and 1 in status.hpp & status.cpp Recompile and start your server and the skill's 5s SP debuff will be active just like in renewal. Edited May 8, 2021 by Mastagoon Quote Link to comment Share on other sites More sharing options...
Question
ratedbananas
Hello everyone anyone can tell me how can i put 5sec delay after asura strike?
Link to comment
Share on other sites
1 answer 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.