Jump to content
  • 0

How to allow guitar switching to cancel Clown skills


TemplarOfTheMist

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   1
  • Joined:  06/05/12
  • Last Seen:  

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!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Use the search function. This has been asked before and answered by Brian. You have to undo changes made by a certain revision.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...