summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-28 19:09:46 +0000
committerDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-28 19:09:46 +0000
commit5b2bc3e1c6914d9cce55ddf483ee61e956e09829 (patch)
treef0e97ee604b64a84cd43e9f8fd0368c6ad490707 /src/map/battle.c
parenta69dd0853debc38b7e83e460fb94b21661dea9f8 (diff)
downloadhercules-5b2bc3e1c6914d9cce55ddf483ee61e956e09829.tar.gz
hercules-5b2bc3e1c6914d9cce55ddf483ee61e956e09829.tar.bz2
hercules-5b2bc3e1c6914d9cce55ddf483ee61e956e09829.tar.xz
hercules-5b2bc3e1c6914d9cce55ddf483ee61e956e09829.zip
Added TK level-up buffs to SG too, and extended them to 10 min
Added "Barefeet Mastery" effect to TK_RUN -> As always, big thanks to Tharis ;) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8524 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 360fe997a..ca04db941 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -603,6 +603,9 @@ int battle_addmastery(struct map_session_data *sd,struct block_list *target,int
damage += (skill * 3);
break;
case W_FIST:
+ if((skill = pc_checkskill(sd,TK_RUN)) > 0)
+ damage += (skill * 10);
+ // No break, fallthrough to Knuckles
case W_KNUCKLE:
if((skill = pc_checkskill(sd,MO_IRONHAND)) > 0)
damage += (skill * 3);
@@ -612,12 +615,10 @@ int battle_addmastery(struct map_session_data *sd,struct block_list *target,int
damage += (skill * 3);
break;
case W_WHIP:
- // Dance Lesson Skill Effect(+3 damage for every lvl = +30)
if((skill = pc_checkskill(sd,DC_DANCINGLESSON)) > 0)
damage += (skill * 3);
break;
case W_BOOK:
- // Advance Book Skill Effect(+3 damage for every lvl = +30)
if((skill = pc_checkskill(sd,SA_ADVANCEDBOOK)) > 0)
damage += (skill * 3);
break;
@@ -625,7 +626,7 @@ int battle_addmastery(struct map_session_data *sd,struct block_list *target,int
if((skill = pc_checkskill(sd,AS_KATAR)) > 0)
damage += (skill * 3);
break;
- case W_HUUMA: // Added Tobidougu bonus if wearing a Fuuma Shuriken
+ case W_HUUMA:
if((skill = pc_checkskill(sd,NJ_TOBIDOUGU)) >0)
damage += (skill * 3);
break;