summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-13 20:20:08 +0000
committerxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-13 20:20:08 +0000
commit4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8 (patch)
tree96527e91c398ce753dfec7fe239f50991f5b30fd /src/map/skill.c
parentb3774b92cfeb2cdc70b00b0e6311631eda373a0c (diff)
downloadhercules-4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8.tar.gz
hercules-4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8.tar.bz2
hercules-4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8.tar.xz
hercules-4b97da7724f5ff7ce298cfc3cf7abafd8b6f0df8.zip
Applied renewal skill changes: (bugreport:5302)
- Energy Coat: Reduces both physical and magical attacks and now has fixed cast time of 5 seconds - Throw Huuma Shuriken (33%): Cannot be interrupted - Spread Attack: Can be used with a Grenade Launcher and attack power is increased; now 20*skill_lv - Turn Undead: Success rate formula changed, Magic damage formula changed on failure - Drums on the Battlefield: Increase ATK and DEF granted - The Ring of Nibelungen: Removed level 4 weapon requirement - Apple of Idun (100%): Increase amount of HP recovered; now (100 + 5*skill_lv + 5*VIT/10) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16292 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 768a91a27..9be2d9266 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -363,9 +363,13 @@ int skill_calc_heal(struct block_list *src, struct block_list *target, int skill
struct status_change* sc;
switch( skill_id ) {
- case BA_APPLEIDUN:
- hp = 30+5*skill_lv+5*(status_get_vit(src)/10); // HP recovery
- if( sd )
+ case BA_APPLEIDUN:
+ #ifdef RENEWAL
+ hp = 100+5*skill_lv+5*(status_get_vit(src)/10); // HP recovery
+ #else
+ hp = 30+5*skill_lv+5*(status_get_vit(src)/10); // HP recovery
+ #endif
+ if( sd )
hp += 5*pc_checkskill(sd,BA_MUSICALLESSON);
break;
case PR_SANCTUARY:
@@ -10210,8 +10214,13 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
val1*=10; //Because every 10 crit is an actual cri point.
break;
case BD_DRUMBATTLEFIELD:
+ #ifdef RENEWAL
+ val1 = (skilllv+5)*25; //Watk increase
+ val2 = skilllv*10; //Def increase
+ #else
val1 = (skilllv+1)*25; //Watk increase
val2 = (skilllv+1)*2; //Def increase
+ #endif
break;
case BD_RINGNIBELUNGEN:
val1 = (skilllv+2)*25; //Watk increase