Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #005217

  • 0 - None Assigned

  • Fixed

Issue Confirmations

  • Yes (0)No (0)
Photo

[RK]RK_HUNDRESPEAR formulas/cast/delay error

Posted by Hercules Bot on 08 January 2012 - 07:04 AM

Originally posted by dreamunreal

Translation:

ra formulas:
	case RK_HUNDREDSPEAR: {
	  int level = status_get_lv(src);
	  skillratio += 500 + 40 * skill_lv;
	  if( level > 100 )
	   skillratio += skillratio * (level - 100) / 200;
	 }
	 break;

my fix:
	case RK_HUNDREDSPEAR: {
	  int level = status_get_lv(src);
	  skillratio += 500 + 90 * skill_lv;
	  if( level > 100 )
	   skillratio += skillratio * (level - 100) / 200; // Base level bonus lv150 base ratio = 1750.
	  skillratio += 50 * pc_checkskill(sd,LK_SPIRALPIERCE); //LK_SPIRALPIERCE's level bonus lv5 ratio = 250.
	  if( sd )
	  {
	   short index = sd->equip_index[EQI_HAND_R];
	   if( index >= 0 && sd->inventory_data[index] && sd->inventory_data[index]->type == IT_WEAPON )
	   {
		short spearwbd = 1250 - sd->inventory_data[index]->weight / 10; // Spear Weight Bonus Damage.
		if ( spearwbd < 0 )
		 spearwbd = 0;// If weight of weapon is more then 1250, bonus is set to 0 to prevent negative value.
		skillratio += spearwbd;
	   }
	   //if(sc->data[SC_GLOOMYDAY_SK] ) // SC_LOOMYDAY_SK bonus.but I don't know how much(need more info)
		//skillratio += 80 + (5 * sc->data[SC_GLOOMYDAY_SK]->val1);
	  }
	 }
	 break;


ra skill_db:
2004,1,8,1,-1,0,0,10,-5,no,0,0,0,weapon,0, RK_HUNDREDSPEAR,Hundred Spear

my fix:

2004,5,8,1,-1,0,0,10,-5,no,0,0,0,weapon,0, RK_HUNDREDSPEAR,Hundred Spear


ra cast_db:
2004,1000,500,0,0,0,0

my fix:
2004,500,0,0,0,0,1000

Originally posted by Daredevil
rAthena still working for 3rd Job Official Quests
you can see rAthena status at http://rathena.org/wiki/RAthena:Status

Edited by Daredevil, 08 January 2012 - 02:43 PM.


Originally posted by Rytech
Variable Cast Time: (1.1 - 0.1 * Skill Level) seconds
Fixed Cast Time: None
Skill re-use Delay: 3 seconds
Global Skill Delay: 0.5 second
Spear Boomerang Activation Chance: (10 + 3 * Skill Level) %
Damage = ATK [{(600 + (Skill Level x 80) + (1000 - Weight of the Spear)} x (1 + [(Caster’s Base Level - 100) / 200])] %
*** If the spear’s weight is over 1,000, it will be set to 1,000 in the calculation.
Bonus damage: (Clashing Spiral skill level x ATK 50%).

Originally posted by dreamunreal
Different servers have different formulas.
My formula from TWRO.
May all be right, but TWRO newer

Originally posted by Daredevil
look at http://rathena.org/b...-kro-mechanics/

rAthena just follow two mechanics, kRO or iRO
not TWRO,idRO,bRO,jRO,pRO,etc

Originally posted by QQfoolsorellina

look at http://rathena.org/b...-kro-mechanics/rAthena just follow two mechanics, kRO or iROnot TWRO,idRO,bRO,jRO,pRO,etc



But  his  Reference is kro foumulas

Originally posted by Protimus
Well, I can update but I'm undecided on which of the formulas used.

I think the best of iRO, as we are updating the skills of it. I'll see if I find the official formula. If somebody wants to help, please post.

Originally posted by Daredevil

same with Rytech :

Damage = ATK [{(600 + (Skill Level x 80) + (1000 - Weight of the Spear)} x (1 + [(Caster’s Base Level - 100) / 200])] %

*** If the spear’s weight is over 1,000, it will be set to 1,000 in the calculation.

Bonus damage: (Clashing Spiral skill level x ATK 50%).


taken from http://forums.irowik...ead.php?t=86239


Originally posted by dreamunreal

same with Rytech :Damage = ATK [{(600 + (Skill Level x 80) + (1000 - Weight of the Spear)} x (1 + [(Caster’s Base Level - 100) / 200])] %*** If the spear’s weight is over 1,000, it will be set to 1,000 in the calculation.Bonus damage: (Clashing Spiral skill level x ATK 50%).taken from http://forums.irowik...ead.php?t=86239

that? it just iro formulas.
but iro formulas != kro formulas.
twro formulas is most close to kro as i know.

If you can find krowiki elaborate formula that I do not mind you questioning my formulais not correct.
If you insist on iro formula, then do not say that again
old formula must admit, the new formula must accept

Originally posted by Rytech
Try this....

    case RK_HUNDREDSPEAR:
	 skillratio += 500 + 80 * skill_lv + 50 * pc_checkskill(sd,LK_SPIRALPIERCE);
	 if( sd )
	 {
	  short index = sd->equip_index[EQI_HAND_R];
	  if( index >= 0 && sd->inventory_data[index] && sd->inventory_data[index]->type == IT_WEAPON )
	  {
	   short spearwbd = 1000 - sd->inventory_data[index]->weight / 10;// Spear Weight Bonus Damage.
	   if ( spearwbd < 0 )
	   spearwbd = 0;// If weight of weapon is more then 1000, bonus is set to 0 to prevent negative value. [Rytech]
	   skillratio += spearwbd;
	  }
	 }
	 if( s_level > 100 ) skillratio += skillratio * (s_level - 100) / 200; // Base level bonus.
	 break;


Originally posted by Daredevil

same with Rytech :Damage = ATK [{(600 + (Skill Level x 80) + (1000 - Weight of the Spear)} x (1 + [(Caster’s Base Level - 100) / 200])] %*** If the spear’s weight is over 1,000, it will be set to 1,000 in the calculation.Bonus damage: (Clashing Spiral skill level x ATK 50%).taken from http://forums.irowik...ead.php?t=86239

that? it just iro formulas.but iro formulas != kro formulas.twro formulas is most close to kro as i know.If you can find krowiki elaborate formula that I do not mind you questioning my formulais not correct.If you insist on iro formula, then do not say that againold formula must admit, the new formula must accept


"This is information about the balance patch that iRO is getting. This information is given from kRO HQ to iRO and was allowed to be released by iRO GM's. It does not contain all formulas. Do not update the wiki with these formulas till Sakray is up next week and these formulas are verified."

Originally posted by MarkZD
Formula fixed at: http://trac.rathena....t/16486/rathena

Edited by MarkZD, 09 November 2012 - 03:55 AM.


moved issue from Skills

changed status to: Fixed

moved issue from Swordsman Classes