Jump to content
  • 0
Sign in to follow this  
jod3

Plugin Dance

Question

Hola buenas algien podia explicarme para que sirve exactamente el plugin Dance?

(No creo que sea bailar verdad? :P

 

un saludo

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Se refiere a esto: http://herc.ws/board/topic/988-atcommanddance/

 

Como puedes observar a través del código, si especificas algún parámetro entre el 1 y el 9 (ambos inclusive), tu PJ realizará algún efecto visual o sonoro. La decisión del efecto que se realiza aparece en este trozo del código, tomado directamente de ese tema:

   if ( atoi(message) == 1 ) {clif->specialeffect(&sd->bl, 413, ALL_CLIENT);   } else if ( atoi(message) == 2 ) {clif->specialeffect(&sd->bl, 414, ALL_CLIENT);   } else if ( atoi(message) == 3 ) {clif->specialeffect(&sd->bl, 415, ALL_CLIENT);   } else if ( atoi(message) == 4 ) {clif->specialeffect(&sd->bl, 426, ALL_CLIENT);   } else if ( atoi(message) == 5 ) {clif->specialeffect(&sd->bl, 458, ALL_CLIENT);   } else if ( atoi(message) == 6 ) {clif->specialeffect(&sd->bl, 466, ALL_CLIENT);   } else if ( atoi(message) == 7 ) {clif->specialeffect(&sd->bl, 501, ALL_CLIENT);   } else if ( atoi(message) == 8 ) {clif->specialeffect(&sd->bl, 540, ALL_CLIENT);   } else if ( atoi(message) == 9 ) {clif->specialeffect(&sd->bl, 550, ALL_CLIENT);   }    else    {    clif->message(fd, "usage: @dance 1-9");     }

Los efectos que se envían son el valor numérico de tres cifras (en azul claro) que varía con cada número (recuerda, del 1 al 9) que le especifiques.

 

Puedes ver esos efectos en doc/effect_list.txt. Para referencia:

 

413. Axe Kick
414. Round Kick
415. Counter Kick
426. Sprint Collision (Visual Effect)
458. Running/Sprint (running into a wall)
466. Another Round Kick
501. Chase Walk Animation
540. Instant Small->Normal
550. Another Effect like Running Hit

 

Como puedes observar, se trata de un comando bastante simple, con un uso meramente cosmético.

Share this post


Link to post
Share on other sites
  • 0

Estuve googleando y la verdad si pudieras decirme de donde lo has sacado o alguna otra información seria de ayuda para poder ayudarte, la verdad lo he buscado y nada de nada.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.