I am trying this code to autobuff sniper with infravision for just 2 seconds after casting Truesight, I would like this effect to apply only on self caster.
I found the line in the skill.cpp src file.
Please note that I can't insert the code in the existing case SN_SIGHT, I tried it and the skill was not working (could'nt even cast), So I add this new line with the skill case.
case SN_SIGHT:
status_change_start(src,bl,SC_INTRAVISION,10000,skill_lv,0,0,0,skill_get_time2(skill_id,skill_lv),SCSTART_NORATEDEF);break;
But is not working, look at the picture, the skill cast should show the monster silhouette for 10 seconds and is not happening.
Could you help me to solve the request, any idea? Thankyou in advance.
Question
iraciz
Hi, this is my following request
I am trying this code to autobuff sniper with infravision for just 2 seconds after casting Truesight, I would like this effect to apply only on self caster.
I found the line in the skill.cpp src file.
Please note that I can't insert the code in the existing case SN_SIGHT, I tried it and the skill was not working (could'nt even cast), So I add this new line with the skill case.
But is not working, look at the picture, the skill cast should show the monster silhouette for 10 seconds and is not happening.
Could you help me to solve the request, any idea? Thankyou in advance.
Link to comment
Share on other sites
8 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.