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

  • #006142

  • 0 - None Assigned

  • Fixed

Issue Confirmations

  • Yes (0)No (0)
Photo

Weapon element

Posted by Hercules Bot on 30 June 2012 - 02:17 PM

Originally posted by Ikari Gendo
Some ppl on our server say, that endows like sage and aspersion should only affect the weapon atk in renewal but the stat atk is still neutral in this calculation. which implements you can hit holy monster with aspersion, in which case the weapon atk is 0 but the stat atk hits full. is his correct or change those spell the full atk into an other element

Originally posted by MarkZD

Uhm... don't forget equipment attack :)


There's no eATK, we don't have Renewal implemented, remember?
But it's good to point it'll only be right when Re-ATK is complete.

Edited by MarkZD, 05 July 2012 - 10:13 AM.


Originally posted by Angezerus

But it's good to point it'll only be right when Re-ATK is complete.


Yup.

====> http://rathena.org/b...tk-calculation/

:)

Originally posted by esu1214
Nomal weapon_atk or weapon_skill should be divided into
(1). weapon_atk = (watk *str/200 + watk + refine + overrefine )* size_mod / 100 + status->eatk;
and
(2).status->batk * 2
, where str will become dex in long_atk mode.

ele_fix and sd_side_cardfix will only affect (1), not (2), except long_atk_rate.
Then in battle.c find
static struct Damage battle_calc_weapon_attack
, in the function find
//Card Fix, sd side
, dont add (2) here, find
//Card Fix, tsd sid Race mod
, add (2) just before this code.

Edited by esu1214, 14 October 2012 - 04:11 AM.


changed status to: Fixed