OscarScorp Posted September 18, 2015 Posted September 18, 2015 Hello everyone, I would like to change Enchant Blade effect to how it worked at first, so you can give it to other players with the benefits of: 1 - Not spending any type of ammo with this buff. 2 - Grant bonus attack damage. I have managed to modify it in skill_db so it's target-able, so point #1 works, but not #2. Anyone here can help me out with this? Thanks in advance! Quote
Scylla Posted October 4, 2015 Posted October 4, 2015 @Stolao Alright, I think I know how to do that, will try later. @nanakiwurtz, indeed, I do that in-game and my client won't show the last character of each line, such as the screenshot attached, it won't show the letter N of "ON". @Stolao, I've encountered https://rathena.org/wiki/Clif_Specialeffect, which I can add to the src of the skill, but I can't find where it specifies the target where the effect will be shown. I want the target to have the effect, instead of the caster. Does anyone happen to know where I can find the text I'm looking for? Find: case RK_ENCHANTBLADE: clif_skill_nodamage(src,bl,skill_id,skill_lv, sc_start2(src,bl,type,100,skill_lv,(100+20*skill_lv)*(status_get_lv(src)/150)+sstatus->int_,skill_get_time(skill_id,skill_lv))); break; Change to: case RK_ENCHANTBLADE: clif_skill_nodamage(src,bl,skill_id,skill_lv, sc_start2(src,bl,type,100,skill_lv,(100+20*skill_lv)*(status_get_lv(src)/150)+sstatus->int_,skill_get_time(skill_id,skill_lv))); clif_specialeffect(bl,756,AREA); break; bl = to target 756 = effect ID (you can change this if you want, find the existing effects at your rathena folder/doc/effect_list.txt) AREA = where it will be seen Quote
Scylla Posted September 28, 2015 Posted September 28, 2015 Hello everyone, I would like to change Enchant Blade effect to how it worked at first, so you can give it to other players with the benefits of: 1 - Not spending any type of ammo with this buff. 2 - Grant bonus attack damage. I have managed to modify it in skill_db so it's target-able, so point #1 works, but not #2. Anyone here can help me out with this? Thanks in advance! You mean a custom effect where it gives additional bonus other than its original effect? Quote
OscarScorp Posted September 28, 2015 Author Posted September 28, 2015 Well, I guess if that does the work, sure. What I am looking for is the effect it originally had, when the 3rd class were new. The bonus atk when the Rune Knight applies it to himself, I am looking for the same effect on other players. Quote
Scylla Posted September 28, 2015 Posted September 28, 2015 Well, I guess if that does the work, sure. What I am looking for is the effect it originally had, when the 3rd class were new. The bonus atk when the Rune Knight applies it to himself, I am looking for the same effect on other players. Well so far i tested it and made it to ' target-friendly ' type skill. And yeah it does grant me damage. Could you please tell me what was its original effect? Quote
OscarScorp Posted September 29, 2015 Author Posted September 29, 2015 Oh you receive bonus damage? In my server, there's no damage difference. The original effect is to grant bonus matk damage to the weapon (basic attacks) which should not miss and makes proyectiles such as arrows and bullets to not be spent when shooting. As you can see, in my server happens the following: - As RK user, I can cast Enchant Blade since I changed it to target-friendly in skill_db. - As Novice user, I get the Enchant Blade buff but damage is not added. I also miss. There's also the thing where the effect always shows up on top of the RK caster but not on the target (in this case, the Novice). Quote
Scylla Posted September 29, 2015 Posted September 29, 2015 (edited) Let's talk that more about here: https://discord.gg/0XP9qqhUV9FqRCA5 The other devs are also here so we could help you. EDIT: Also what revision are you using? Edited September 29, 2015 by Mary Magdalene Quote
OscarScorp Posted September 29, 2015 Author Posted September 29, 2015 Oh thanks for inviting me! My rAthena revision is: 1772xthe last X is unknown since my Ro for some reason won't show the last character for every line :S I haven't updated my rAthena since June (2015) or so, I'm not too experienced and the last time I did that it screwed up some of my scripts and custom skills in my server. Quote
OscarScorp Posted October 3, 2015 Author Posted October 3, 2015 Enchant Blade now deals damage according to the allied MATK. This works for me, although the effect still shows on top of the caster instead of the target. Quote
Stolao Posted October 3, 2015 Posted October 3, 2015 The client determins skill effects, unless you want to mod your source think there is a thread onbhow to add effects to skills in source support \ request section. Quote
nanakiwurtz Posted October 3, 2015 Posted October 3, 2015 My rAthena revision is: 1772x the last X is unknown since my Ro for some reason won't show the last character for every line :S You can use @version in game Quote
OscarScorp Posted October 3, 2015 Author Posted October 3, 2015 @Stolao Alright, I think I know how to do that, will try later. @nanakiwurtz, indeed, I do that in-game and my client won't show the last character of each line, such as the screenshot attached, it won't show the letter N of "ON". @Stolao, I've encountered https://rathena.org/wiki/Clif_Specialeffect, which I can add to the src of the skill, but I can't find where it specifies the target where the effect will be shown. I want the target to have the effect, instead of the caster. Does anyone happen to know where I can find the text I'm looking for? Quote
OscarScorp Posted October 4, 2015 Author Posted October 4, 2015 Will try that, thanks Mary, I will report the changes here once I make a server maintenance. Hopefully by Monday. Quote
OscarScorp Posted October 7, 2015 Author Posted October 7, 2015 Thanks Mary Magdalene that worked perfectly Solved. Quote
Question
OscarScorp
Hello everyone,
I would like to change Enchant Blade effect to how it worked at first, so you can give it to other players with the benefits of:
1 - Not spending any type of ammo with this buff.
2 - Grant bonus attack damage.
I have managed to modify it in skill_db so it's target-able, so point #1 works, but not #2.
Anyone here can help me out with this?
Thanks in advance!
13 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.