rqueen Posted May 18, 2014 Posted May 18, 2014 (edited) Any way to add like 1 to 1.5 seconds delay before a Champion/Monk can use consumable items after he casts Asura Strike? Preferably only when the skill hits, but if it can't be done I'm good with it applying all the time. Edited May 18, 2014 by rqueen Quote
sandbox Posted May 19, 2014 Posted May 19, 2014 I think this was already implemented at the latest version. Quote
rqueen Posted May 19, 2014 Author Posted May 19, 2014 Oh, I forgot to mention our server is on eAthena, so I'm thinking I'll need some hard coding for it. Quote
sandbox Posted May 19, 2014 Posted May 19, 2014 Yep, you could try updating your server instead Quote
Cydh Posted May 19, 2014 Posted May 19, 2014 The hints are Add new SC Make the SC working after Asura casted, somewhere in skill_casted_id() Add check if the SC is active, player can consume item. in pc_isUseitem() in rAthena, the SC is called SC_EXTREMITYFIST2, the checks for the SC are making player receives 0 sp by script (like percentheal), healed by Potion Pitcher, or maybe by Soul Change, etc which the check is in pc_itemheal(). you can use Notepad++ then find "SC_EXTREMITYFIST2" on latest rAthena sources, use "Find in files" for entire /src/map directory. Quote
rqueen Posted May 20, 2014 Author Posted May 20, 2014 Thank you, Cydh! I think I kind of get the gist of what you suggested, but unfortunately I have really low knowledge of scripting and programming. :/ Do you think you can help me out with this one? Quote
Cydh Posted June 3, 2014 Posted June 3, 2014 or u can just use this itemusagedelayafterskill-rA.diff Quote
rqueen Posted June 13, 2014 Author Posted June 13, 2014 Hello, Cydh! Thank you for this diff and sorry for the late reply. I noticed it says 'rA' at the end, I'm still currently on eAthena, would this work if I applied the diff contents manually? (As in, copy-pasting manually since it's originally for rA emulator) Quote
rqueen Posted June 14, 2014 Author Posted June 14, 2014 Doesn't work. Encountering a lot of errors, most of which seem due to the emulator difference. unit.c:1015:6: warning: unused variable âtempâ [-Wunused-variable] unit.c:1014:15: warning: unused variable âtickâ [-Wunused-variable] unit.c:1013:22: warning: unused variable âtargetâ [-Wunused-variable] unit.c:1011:29: warning: unused variable âtscâ [-Wunused-variable] unit.c:1011:24: warning: unused variable âscâ [-Wunused-variable] unit.c:1010:22: warning: unused variable âtstatusâ [-Wunused-variable] unit.c:1009:20: warning: unused variable âudâ [-Wunused-variable] unit.c: At top level: unit.c:1041:2: warning: data definition has no type or storage class [enabled by default] unit.c:1041:2: warning: type defaults to âintâ in declaration of âsdâ [-Wimplicit-int] unit.c:1041:7: error: âsrcâ undeclared here (not in a function) unit.c:1042:2: warning: data definition has no type or storage class [enabled by default] unit.c:1042:2: warning: type defaults to âintâ in declaration of âudâ [-Wimplicit-int] unit.c:1044:2: error: expected identifier or â(â before âifâ unit.c:1045:2: warning: data definition has no type or storage class [enabled by default] unit.c:1045:2: warning: type defaults to âintâ in declaration of âscâ [-Wimplicit-int] unit.c:1046:2: error: expected identifier or â(â before âifâ unit.c:1049:2: warning: data definition has no type or storage class [enabled by default] unit.c:1049:2: warning: type defaults to âintâ in declaration of âtempâ [-Wimplicit-int] unit.c:1049:11: error: âtarget_idâ undeclared here (not in a function) unit.c:1051:24: error: âskill_numâ undeclared here (not in a function) unit.c:1051:62: error: invalid type argument of â->â (have âintâ) unit.c:1056:2: error: expected identifier or â(â before âifâ unit.c:1059:2: error: expected identifier or â(â before âifâ unit.c:1111:2: error: expected identifier or â(â before âifâ unit.c:1123:2: error: expected identifier or â(â before âifâ unit.c:1126:2: error: expected identifier or â(â before âifâ unit.c:1129:2: warning: data definition has no type or storage class [enabled by default] unit.c:1129:2: warning: type defaults to âintâ in declaration of âtscâ [-Wimplicit-int] unit.c:1129:22: error: âtargetâ undeclared here (not in a function) unit.c:1131:2: error: expected identifier or â(â before âifâ unit.c:1134:2: error: expected identifier or â(â before âifâ unit.c:1138:2: error: expected identifier or â(â before âifâ unit.c:1141:2: error: expected identifier or â(â before âifâ unit.c:1144:2: warning: data definition has no type or storage class [enabled by default] unit.c:1144:2: warning: type defaults to âintâ in declaration of âtstatusâ [-Wimplicit-int] unit.c:1146:2: error: expected identifier or â(â before âifâ unit.c:1198:2: error: expected identifier or â(â before âifâ unit.c:1210:2: error: expected identifier or â(â before âifâ unit.c:1227:2: error: expected identifier or â(â before âifâ unit.c:1229:2: error: expected identifier or â(â before âelseâ unit.c:1232:4: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â->â token unit.c:1235:2: warning: data definition has no type or storage class [enabled by default] unit.c:1235:2: warning: type defaults to âintâ in declaration of âtempâ [-Wimplicit-int] unit.c:1235:2: error: redefinition of âtempâ unit.c:1049:2: note: previous definition of âtempâ was here unit.c:1237:2: error: expected identifier or â(â before âswitchâ unit.c:1293:2: error: expected identifier or â(â before âifâ unit.c:1301:2: error: expected identifier or â(â before âifâ unit.c:1307:2: error: expected identifier or â(â before âifâ unit.c:1342:2: error: expected identifier or â(â before âifâ unit.c:1345:2: error: expected identifier or â(â before âifâ unit.c:1348:2: error: expected identifier or â(â before âifâ unit.c:1358:4: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â->â token unit.c:1359:4: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â->â token unit.c:1360:4: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â->â token unit.c:1361:4: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â->â token unit.c:1362:4: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â->â token unit.c:1364:2: error: expected identifier or â(â before âifâ unit.c:1369:2: error: expected identifier or â(â before âifâ unit.c:1375:2: error: expected identifier or â(â before âifâ unit.c:1380:2: error: expected identifier or â(â before âifâ unit.c:1385:2: error: expected identifier or â(â before âelseâ unit.c:1388:2: error: expected identifier or â(â before âreturnâ unit.c:1389:1: error: expected identifier or â(â before â}â token Quote
Question
rqueen
Any way to add like 1 to 1.5 seconds delay before a Champion/Monk can use consumable items after he casts Asura Strike?
Preferably only when the skill hits, but if it can't be done I'm good with it applying all the time.
Edited by rqueen10 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.