Jump to content
  • 0

Rathena Taekwon ready Question


junzzang

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  04/22/17
  • Last Seen:  

hellow.

Taekwon Counter_kick is Only available in preparation posture.

I'd like to know how to make it possible to use it without reserve posture.

I think it is related to SRC SRC_COMBO

I want answers.
Thank you very much.

 

/////////////////////

 // Taekwon combos activate on traps, so we need to check them even for targets that don't have status
 if (sd && skill_id == 0 && !(attack_type&BF_SKILL) && sc) {
  // Chance to trigger Taekwon kicks
  if (sc->data[SC_READYSTORM] &&
   sc_start4(src, src, SC_COMBO, 100, TK_STORMKICK,
    0, 2, 0,
    (2000 - 4 * sstatus->agi - 2 * sstatus->dex)))
   ; //Stance triggered
  else if (sc->data[SC_READYDOWN] &&
   sc_start4(src, src, SC_COMBO, 100, TK_DOWNKICK,
    0, 2, 0,
    (2000 - 4 * sstatus->agi - 2 * sstatus->dex)))
   ; //Stance triggered
  else if (sc->data[SC_READYTURN] &&
   sc_start4(src, src, SC_COMBO, 100, TK_TURNKICK,
    0, 2, 0,
    (2000 - 4 * sstatus->agi - 2 * sstatus->dex)))
   ; //Stance triggered
  else if (sc->data[SC_READYCOUNTER]) { //additional chance from SG_FRIEND [Komurka]
   rate = 20;
   if (sc->data[SC_SKILLRATE_UP] && sc->data[SC_SKILLRATE_UP]->val1 == TK_COUNTER) {
    rate += rate*sc->data[SC_SKILLRATE_UP]->val2 / 100;
    status_change_end(src, SC_SKILLRATE_UP, INVALID_TIMER);
   }
   sc_start4(src, src, SC_COMBO, rate, TK_COUNTER,
    0, 2, 0,
    (2000 - 4 * sstatus->agi - 2 * sstatus->dex))
    ; //Stance triggered

/////////SC_combo///////

  case TK_TURNKICK:
  case TK_STORMKICK:
  case TK_DOWNKICK:
  case TK_COUNTER:
   if ((sd->class_&MAPID_UPPERMASK) == MAPID_SOUL_LINKER)
    return false; //Anti-Soul Linker check in case you job-changed with Stances active.
   if(!(sc && sc->data[SC_COMBO]) || sc->data[SC_COMBO]->val1 == TK_JUMPKICK)
    return false; //Combo needs to be ready

   if (sc->data[SC_COMBO]->val3) { //Kick chain
    //Do not repeat a kick.
    if (sc->data[SC_COMBO]->val3 != skill_id)
     break;
    status_change_end(&sd->bl, SC_COMBO, INVALID_TIMER);
    return false;
   }
   if(sc->data[SC_COMBO]->val1 != skill_id && !pc_is_taekwon_ranker(sd)) { //Cancel combo wait.
    unit_cancel_combo(&sd->bl);
    return false;
   }
   break; //Combo ready.

 

 

 

 

 

 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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