Jump to content
  • 0

How to allow guitar switching to cancel Clown skills


Question

Posted

I searched everywhere to no avail,

Can anyone teach how can I allow Clowns/Bards in my server to cancel their skills like Bragi, Assassin Cross, and Apple of Idun's via switching Guitars? I can only cancel it via Combat Knife or non-guitar weapon.

Thanks!

3 answers to this question

Recommended Posts

Posted

on your pc.c

if(sd->status.inventory[n].equip & EQP_HAND_R) {

sd->weapontype1 = 0;

sd->status.weapon = sd->weapontype2;

pc_calcweapontype(sd);

clif_changelook(&sd->bl,LOOK_WEAPON,sd->status.weapon);

add this line.

status_change_end(&sd->bl, SC_DANCING, INVALID_TIMER); //When unequipping, stop dancing. [skotlex]

then it would be look like this.

if(sd->status.inventory[n].equip & EQP_HAND_R) {

sd->weapontype1 = 0;

sd->status.weapon = sd->weapontype2;

pc_calcweapontype(sd);

clif_changelook(&sd->bl,LOOK_WEAPON,sd->status.weapon);

status_change_end(&sd->bl, SC_DANCING, INVALID_TIMER); //When unequipping, stop dancing. [skotlex]

then recompile

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