Jump to content

Ayuda con agregar double attack a bow y katar


Keira

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  08/30/12
  • Last Seen:  

Buenas, estoy tratando que la skill de double attack, funcione con BOW y katar, no solamente con una espada, se podrá realizar esto?

 

 

Saludos....

Edited by Keira
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  33
  • Reputation:   2
  • Joined:  11/22/16
  • Last Seen:  

De que se puede se puede, supongo que  en la Skill_db del emulador y modificar los parametros.   o tambien tienes la opcion de agregar la habilidad  al Arma  que lo encuentro  mas facil , en el item_db. 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  08/30/12
  • Last Seen:  

Encontré esta solución, pensé que no era necesario editar la source, pero si, revise el battle.c y allí  estaba el hilo del TF_double.

Entonces, para que el bow y el katar tengan el efecto del double attk.

battle.cpp 

if( sd && !skill_id ) {    // if no skill_id passed, check for double attack [helvetica]
        short i;

   -     if( ( ( skill_lv = pc_checkskill(sd,TF_DOUBLE) ) > 0 && sd->weapontype1 == W_DAGGER)
   +    if( ( ( skill_lv = pc_checkskill(sd,TF_DOUBLE) ) > 0 && sd->weapontype1 == W_DAGGER || sd->weapontype1 == W_BOW || sd->weapontype1 == W_KATAR

 

@ admagnus, gracias por tu aporte. ♥ 

Edited by Keira
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
Reply to this topic...

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