Jump to content
  • 0

Flying Kick + sprint not working properly


IsabelaFernandez

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

 

hello everyone, Flying Kick's damage after using the Sprint skill should increase and that's not what is happening. When I use Sprint the damage is being reduced and when I use Flying Kick alone the damage is higher. Was there a change in this combo or is it really wrong?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

Can't reproduce your issue in latest revision
 

Please go to the battle.c in your SCR and check your damage formula,  your line must be the same as below:

		case TK_JUMPKICK:
			//Different damage formulas depending on damage trigger
			if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == skill_id)
				skillratio += -100 + 4 * status_get_lv(src); //Tumble formula [4%*baselevel]
			else if (wd->miscflag) {
				skillratio += -100 + 4 * status_get_lv(src); //Running formula [4%*baselevel]
				if (sc && sc->data[SC_SPURT]) //Spurt formula [8%*baselevel]
					skillratio *= 2;
			}
			else
				skillratio += -70 + 10 * skill_lv;
			break;

 

Edited by iraciz
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

4 hours ago, iraciz said:

Can't reproduce your issue in latest revision
 

 

Please go to the battle.c in your SCR and check your damage formula,  your line must be the same as below:


		case TK_JUMPKICK:
			//Different damage formulas depending on damage trigger
			if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == skill_id)
				skillratio += -100 + 4 * status_get_lv(src); //Tumble formula [4%*baselevel]
			else if (wd->miscflag) {
				skillratio += -100 + 4 * status_get_lv(src); //Running formula [4%*baselevel]
				if (sc && sc->data[SC_SPURT]) //Spurt formula [8%*baselevel]
					skillratio *= 2;
			}
			else
				skillratio += -70 + 10 * skill_lv;
			break;

 

 

 

exactly, yours is working as I always knew ... although I had edited the damage it wasn’t supposed to be reducing when using Sprint

        case TK_JUMPKICK:
            //Different damage formulas depending on damage trigger
            if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == skill_id)
                skillratio += -100 + 4 * status_get_lv(src); //Tumble formula [4%*baselevel]
            else if (wd->miscflag) {
                skillratio += -100 + 4 * status_get_lv(src); //Running formula [4%*baselevel]
                if (sc && sc->data[SC_SPURT]) //Spurt formula [8%*baselevel]
                    skillratio *= 2;
            }
            else
                skillratio += 1800 + 50 * skill_lv;
            break;

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

Your lines are not the same as latest rathena, that's why your damage formula is messed up in game.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

57 minutes ago, iraciz said:

Your lines are not the same as latest rathena, that's why your damage formula is messed up in game.

oh, I just check, this?

 

case TK_JUMPKICK:
  skillratio += -70 + 10*skill_lv;
  if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == skill_id)
  skillratio += 10*status_get_lv(src)/3; //Tumble bonus
  if (wd.miscflag)
  {
  skillratio += 10*status_get_lv(src)/3; //Running bonus (TODO: What is the real bonus?)
  if( sc && sc->data[SC_SPURT] ) // Spurt bonus
  skillratio *= 2;
  }
  break;
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

9 minutes ago, IsabelaFernandez said:

oh, I just check, this?

 

case TK_JUMPKICK:
  skillratio += -70 + 10*skill_lv;
  if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == skill_id)
  skillratio += 10*status_get_lv(src)/3; //Tumble bonus
  if (wd.miscflag)
  {
  skillratio += 10*status_get_lv(src)/3; //Running bonus (TODO: What is the real bonus?)
  if( sc && sc->data[SC_SPURT] ) // Spurt bonus
  skillratio *= 2;
  }
  break;

You have to replace that, for the one I provided and compile your server.

		case TK_JUMPKICK:
			//Different damage formulas depending on damage trigger
			if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == skill_id)
				skillratio += -100 + 4 * status_get_lv(src); //Tumble formula [4%*baselevel]
			else if (wd->miscflag) {
				skillratio += -100 + 4 * status_get_lv(src); //Running formula [4%*baselevel]
				if (sc && sc->data[SC_SPURT]) //Spurt formula [8%*baselevel]
					skillratio *= 2;
			}
			else
				skillratio += -70 + 10 * skill_lv;
			break;

 

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