Jump to content
  • 0

Changing different shields removes skills


Question

8 answers to this question

Recommended Posts

  • 0
Posted

I've test on my server changing shield will remove 2 buff your said.

Do you want to keep buff or remove buff?

Sorry for my bad english.

  • 0
Posted (edited)

1 .  In  your rathena installation

src/map/pc.cpp  << the file

make the line of this:

unit_skillcastcancel(&sd->bl, 0); // Cancel Shield Spell if player swaps shields.

into this ::

//unit_skillcastcancel(&sd->bl, 0); // Cancel Shield Spell if player swaps shields.

 

2. 

RECOMPILE!!!

Edited by utofaery
  • 0
Posted
On 2/1/2019 at 11:58 AM, utofaery said:

1 .  In  your rathena installation

src/map/pc.cpp  << the file

make the line of this:

unit_skillcastcancel(&sd->bl, 0); // Cancel Shield Spell if player swaps shields.

into this ::

//unit_skillcastcancel(&sd->bl, 0); // Cancel Shield Spell if player swaps shields.

 

2. 

RECOMPILE!!!

Hi @utofaery this modification works. The buffs are still there when you switch shield. But there is also a bug in it. 

- Paladin is equipped with shield and casts the buffs

- Paladin unequipped the shield but the paladin can still use buffs

Can you help us to disable the use of buffs when the Paladin doesn't have shield?

Thank you!

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