summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-27 18:59:31 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-27 18:59:31 +0000
commitadb7fc1b17c801ec03306d21c177bf37be7a5807 (patch)
treea05a6bd7ff99fa536d17fe8d182329fdc0367364
parent91ddb4813f743093fc40f46b6c510fa5b6bc9d39 (diff)
downloadhercules-adb7fc1b17c801ec03306d21c177bf37be7a5807.tar.gz
hercules-adb7fc1b17c801ec03306d21c177bf37be7a5807.tar.bz2
hercules-adb7fc1b17c801ec03306d21c177bf37be7a5807.tar.xz
hercules-adb7fc1b17c801ec03306d21c177bf37be7a5807.zip
Fixed Heal amount on skill levels 1~9 (since r15009, bugreport:5372).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15633 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 83d2b8adc..1d3fc33d0 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -373,7 +373,7 @@ int skill_calc_heal(struct block_list *src, struct block_list *target, int skill
* - Min = ( [ ( BaseLvl + INT ) / 5 ] * 30 ) * (1+( %Modifier / 100)) * (HealLvl * 0.1) + StatusMATK + EquipMATK - [(WeaponMATK * WeaponLvl) / 10]
* - Max = ( [ ( BaseLvl + INT ) / 5 ] * 30 ) * (1+( %Modifier / 100)) * (HealLvl * 0.1) + StatusMATK + EquipMATK + [(WeaponMATK * WeaponLvl) / 10]
**/
- hp = ( ( ( ( status_get_lv(src) + status_get_int(src) ) / 5 ) * 30 ) * ( skill_lv / 10 ) + status_get_matk_min(src) + status_get_matk_max(src) - ( ( status_get_matk_max(src) * status_get_wlv(src) ) / 10 ) ) + rnd()%( ( ( ( status_get_lv(src) + status_get_int(src) ) / 5 ) * 30 ) * ( skill_lv / 10 ) + status_get_matk_min(src) + status_get_matk_max(src) + ( ( status_get_matk_max(src) * status_get_wlv(src) ) / 10 ) );
+ hp = ( ( ( ( status_get_lv(src) + status_get_int(src) ) / 5 ) * 3 ) * skill_lv + status_get_matk_min(src) + status_get_matk_max(src) - ( ( status_get_matk_max(src) * status_get_wlv(src) ) / 10 ) ) + rnd()%( ( ( ( status_get_lv(src) + status_get_int(src) ) / 5 ) * 3 ) * skill_lv + status_get_matk_min(src) + status_get_matk_max(src) + ( ( status_get_matk_max(src) * status_get_wlv(src) ) / 10 ) );
#else
hp = ( status_get_lv(src) + status_get_int(src) ) / 8 * (4 + ( skill_id == AB_HIGHNESSHEAL ? ( sd ? pc_checkskill(sd,AL_HEAL) : 10 ) : skill_lv ) * 8);
#endif