diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-15 20:18:11 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-15 20:18:11 +0000 |
commit | 8f4bff4143898963b1210ffa2d3300020df04c4e (patch) | |
tree | 1195d8b6ebbcf50ae90be7b61e21b6ae9f26dd9a /src/map | |
parent | ea2ae867ed32cdea9107b446ee7cdfe3a2be6d95 (diff) | |
download | hercules-8f4bff4143898963b1210ffa2d3300020df04c4e.tar.gz hercules-8f4bff4143898963b1210ffa2d3300020df04c4e.tar.bz2 hercules-8f4bff4143898963b1210ffa2d3300020df04c4e.tar.xz hercules-8f4bff4143898963b1210ffa2d3300020df04c4e.zip |
- Fixed the char servers to store correctly exp as uints. They are also capped to LONG_MAX before being sent to the client.
- TK_DODGE now dodges all ranged attacks, when used with SPURT, dodges everything.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5289 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index a0a6d932d..e5f591649 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -610,7 +610,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i }
if(sc->data[SC_DODGE].timer != -1 && !sc->opt1 &&
- ((flag&BF_LONG && flag&BF_WEAPON) || sc->data[SC_SPURT].timer != -1)
+ (flag&BF_LONG || sc->data[SC_SPURT].timer != -1)
&& rand()%100 < 20) {
if (sd && pc_issit(sd)) pc_setstand(sd); //Stand it to dodge.
clif_skill_nodamage(bl,bl,TK_DODGE,1,1);
|