diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-12 02:03:31 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-12 02:03:31 +0000 |
commit | 09a4c48b4c47691962161bb3dd3faf9bbb5fd6ee (patch) | |
tree | 7e573c8350ed240e1d3bf250d5fac7e5f9bad7d5 /src/map/battle.c | |
parent | 260c3e2fc442271410e96a89b924d54aa767d80d (diff) | |
download | hercules-09a4c48b4c47691962161bb3dd3faf9bbb5fd6ee.tar.gz hercules-09a4c48b4c47691962161bb3dd3faf9bbb5fd6ee.tar.bz2 hercules-09a4c48b4c47691962161bb3dd3faf9bbb5fd6ee.tar.xz hercules-09a4c48b4c47691962161bb3dd3faf9bbb5fd6ee.zip |
- Fixed Landmine's level 1 duration.
- Cleaned up implementation of BlastMine and Claymore Trap.
- Added Freezing trap information to battle_calc_weapon attack.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5998 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index e97856c25..cb12328c6 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1144,11 +1144,6 @@ static struct Damage battle_calc_weapon_attack( case KN_AUTOCOUNTER:
wd.flag=(wd.flag&~BF_SKILLMASK)|BF_NORMAL;
break;
-
- //Until they're at right position - gs_arrow- [Vicious]
- case GS_RAPIDSHOWER:
- wd.div_= 5;
- break;
}
}
@@ -1284,6 +1279,7 @@ static struct Damage battle_calc_weapon_attack( break;
case NPC_GUIDEDATTACK:
case RG_BACKSTAP:
+ case HT_FREEZINGTRAP:
case AM_ACIDTERROR:
case MO_INVESTIGATE:
case MO_EXTREMITYFIST:
@@ -1525,6 +1521,9 @@ static struct Damage battle_calc_weapon_attack( case AC_CHARGEARROW:
skillratio += 50;
break;
+ case HT_FREEZINGTRAP:
+ skillratio += -50+10*skill_lv;
+ break;
case KN_PIERCE:
skillratio += 10*skill_lv;
break;
@@ -2853,7 +2852,7 @@ struct Damage battle_calc_misc_attack( if( sd==NULL || (skill = pc_checkskill(sd,HT_STEELCROW)) <= 0)
skill=0;
- //Blitz Beat lv5 Damage
+ //Blitz Beat lv5 Damage
damage=(dex/10+int_/2+skill*3+40)*2;
skill = skill_get_num(HT_BLITZBEAT, 5);
damage_div_fix(damage, skill);
|