NPC earthquake now divides the atk2 bonus between players. (bugreport:1253)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12514 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
e7d2509efb
commit
4c6416ffb5
@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||
|
||||
2008/04/06
|
||||
* NPC earthquake now divides the atk2 bonus between players. (r12514) [Kevin]
|
||||
* Changed guild skills restore, regen, and battle order to only affect BL_PC. (r12513) [Kevin]
|
||||
* Reverted one of the changes in dynamic mobs that may
|
||||
- be causing the spawning problems. (r12512) [Kevin]
|
||||
|
@ -2348,7 +2348,8 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
|
||||
|
||||
if (skill_num == NPC_EARTHQUAKE)
|
||||
{ //Adds atk2 to the damage, should be influenced by number of hits and skill-ratio, but not mdef reductions. [Skotlex]
|
||||
ad.damage+= sstatus->rhw.atk2*skillratio/100;
|
||||
//Also divide the extra bonuses from atk2 based on the number in range [Kevin]
|
||||
ad.damage+= (sstatus->rhw.atk2*skillratio/100)/mflag;
|
||||
}
|
||||
|
||||
if(ad.damage<1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user