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

  • #007221

  • New

Issue Confirmations

  • Yes (0)No (0)
Photo

Shield Chain

Posted by kyeme on 06 May 2013 - 04:38 AM

In official the damage bonus of Shield is +50 per refine not +10

ATK_ADD(10*sd->status.inventory[index].refine);

Please confirm this.

Source pRO

It's 10 per hit. Shield Chain does 5 hits, so it's 50 more damage total per refine.

Are you sure this is not working?

Because:

It's 10 per hit. Shield Chain does 5 hits, so it's 50 more damage total per refine.

The video shows it's already working, isn't it?

changed status to: New

Are you sure this is not working?

Because:



It's 10 per hit. Shield Chain does 5 hits, so it's 50 more damage total per refine.

The video shows it's already working, isn't it?


The video was from Official server

Ah I see. And on Herc it's only 2 damage per hit?


Edit:
Hmm, yes I see it in the code. The problem is that the damage increase comes at the very end where damage_div_fix was already called (that multiplies damage by number of hits). Officially damage_div_fix actually comes last (even after plant damage), but it's hard to move down without breaking all the skills that add damage in between. (Also because of how the DEF is applied to single hits.)

Can't just change the 10 to 50 either because the code is also used for CR_SHIELDBOOMERANG.

Easiest way to fix is to apply div_ again:
ATK_ADD(10*sd->status.inventory[index].refine*wd.div_);
Long term, the whole div fix should be moved to the end of the damage code, though.

This needs to be fixed by Herc as on rAthena we already reworked the damage code for weapon attacks to have a better order of processing, so it's already working there.

Edited by Playtester, 07 November 2014 - 07:44 AM.