Jump to content

Recommended Posts

Posted (edited)

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
Posted

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. 

 

Posted (edited)

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

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.

  • Recently Browsing   0 members

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