diff options
author | Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-08 19:43:20 +0000 |
---|---|---|
committer | Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-08 19:43:20 +0000 |
commit | 4242768112334438dab8131ed27f3a89227e234d (patch) | |
tree | 4998ea0036cf703fc99900101cdd7a6583dda599 /src/map/battle.c | |
parent | 4723777c3312562f5e4902f4230e180cc10f0bc1 (diff) | |
download | hercules-4242768112334438dab8131ed27f3a89227e234d.tar.gz hercules-4242768112334438dab8131ed27f3a89227e234d.tar.bz2 hercules-4242768112334438dab8131ed27f3a89227e234d.tar.xz hercules-4242768112334438dab8131ed27f3a89227e234d.zip |
Some more skill fix.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5522 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 6fc54318e..57eef7d46 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1223,7 +1223,19 @@ static struct Damage battle_calc_weapon_attack( wd.flag=(wd.flag&~BF_SKILLMASK)|BF_NORMAL;
break;
-
+ //Until they're at right position - gs_arrow- [Vicious]
+ case GS_BULLSEYE:
+ case GS_CRACKER:
+ case GS_TRACKING:
+ case GS_PIERCINGSHOT:
+ case GS_RAPIDSHOWER:
+ case GS_DUST:
+ case GS_SPREADATTACK:
+ case NJ_SYURIKEN:
+ case NJ_KUNAI:
+ case NJ_HUUMA:
+ flag.arrow = 1;
+ break;
}
}
@@ -1296,7 +1308,7 @@ static struct Damage battle_calc_weapon_attack( //Check for critical
if(!flag.cri &&
(sd || battle_config.enemy_critical_rate) &&
- (!skill_num || skill_num == KN_AUTOCOUNTER || skill_num == SN_SHARPSHOOTING))
+ (!skill_num || skill_num == KN_AUTOCOUNTER || skill_num == SN_SHARPSHOOTING || skill_num == NJ_KIRIKAGE))
{
short cri = status_get_critical(src);
if (sd)
@@ -1330,6 +1342,9 @@ static struct Damage battle_calc_weapon_attack( case SN_SHARPSHOOTING:
cri += 200;
break;
+ case NJ_KIRIKAGE:
+ cri += 250 + 50*skill_lv;
+ break;
}
if(tsd && tsd->critical_def)
cri = cri*(100-tsd->critical_def)/100;
|