Jump to content
  • 0

Give Enchant Blade to others


Question

Posted

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

Posted

@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".

e695e3f039e3842d1435079a040e1374.png

@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

Posted

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?

Posted

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.

Posted

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?

Posted

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).

 

a417836ae0d24a3dcd147f0dbf0503aa.gif

Posted

Oh thanks for inviting me!

 

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 

e695e3f039e3842d1435079a040e1374.png

 

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.

Posted

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.

Posted

@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".
e695e3f039e3842d1435079a040e1374.png


@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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...