summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-16 14:12:01 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-16 14:12:01 +0000
commit77e8294908fcbf69431d87b74a8ed15d3ab5fd2e (patch)
tree70ac7728a7d113f97bcc5a844573717db2109bb7 /src/map/battle.c
parent9f21baade67fe21fc3e270ff1239401cd9ab41ff (diff)
downloadhercules-77e8294908fcbf69431d87b74a8ed15d3ab5fd2e.tar.gz
hercules-77e8294908fcbf69431d87b74a8ed15d3ab5fd2e.tar.bz2
hercules-77e8294908fcbf69431d87b74a8ed15d3ab5fd2e.tar.xz
hercules-77e8294908fcbf69431d87b74a8ed15d3ab5fd2e.zip
- Now arrow-consuming skills where your main weapon is a whip or musical instrument WILL count as arrow-type attacks, using the atk of the arrow and all related bonuses.
- Fixed some homun timer initialization code. - Some cleanups on the pet.c code, but no idea if pet view will work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8315 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 4f2e03e5f..12e8f69f6 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1213,6 +1213,8 @@ static struct Damage battle_calc_weapon_attack(
case W_SHOTGUN:
case W_GATLING:
case W_GRENADE:
+ case W_WHIP: //These two do use arrow based skills.
+ case W_MUSICAL:
break;
default:
i |= 16; // for ex. shuriken must not be influenced by DEX