From d47798d24da91a2f14ef95f3a8d5cd7cef1a2978 Mon Sep 17 00:00:00 2001 From: DracoRPG Date: Sat, 27 Jan 2007 03:12:38 +0000 Subject: - 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 --- src/map/skill.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/skill.c') 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; -- cgit v1.2.3-70-g09d2