summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-27 03:12:38 +0000
committerDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-27 03:12:38 +0000
commitd47798d24da91a2f14ef95f3a8d5cd7cef1a2978 (patch)
treef64e79957a69f5c6da7db06bd10425240115bb55 /src/map/skill.c
parent1d699d1f9ba6facaba5f6e817d9b6b2730d6872e (diff)
downloadhercules-d47798d24da91a2f14ef95f3a8d5cd7cef1a2978.tar.gz
hercules-d47798d24da91a2f14ef95f3a8d5cd7cef1a2978.tar.bz2
hercules-d47798d24da91a2f14ef95f3a8d5cd7cef1a2978.tar.xz
hercules-d47798d24da91a2f14ef95f3a8d5cd7cef1a2978.zip
- I'm back, and I begin with an implementation of a good old Aegis bug : Assassins should now be able to use the infamous status arrow + Grimtooth method
- Also added some random stuff about storage password system git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9723 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index c144b4c5d..f3e2f24d8 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1369,8 +1369,7 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
for(i=0; i < MAX_PC_BONUS && sd->addeff[i].flag; i++)
{
rate = sd->addeff[i].rate;
- type = sd->state.arrow_atk; //Ranged?
- if (type)
+ if (attack_type&BF_RANGED) // Any ranged physical attack takes status arrows into account (Grimtooth...) [DracoRPG]
rate += sd->addeff[i].arrow_rate;
if (!rate) continue;