diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-09 20:11:47 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-09 20:11:47 +0000 |
commit | 03e3c726518b8b3d6d28280210510ad37ee896bf (patch) | |
tree | 2866f5437beeb89c527d3e7460ee80c017522650 /src/map/battle.c | |
parent | b08adba0cd415b21cf6bff88181d77bdfeda1f96 (diff) | |
download | hercules-03e3c726518b8b3d6d28280210510ad37ee896bf.tar.gz hercules-03e3c726518b8b3d6d28280210510ad37ee896bf.tar.bz2 hercules-03e3c726518b8b3d6d28280210510ad37ee896bf.tar.xz hercules-03e3c726518b8b3d6d28280210510ad37ee896bf.zip |
- Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer get reduced by 50% regardless of who is standing on the fog.
- monster_ai&2 will now trigger the rude-attacked skill when the mob can't move and the attacker is out of it's attack range.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6536 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-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 0c9724266..016453592 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -552,7 +552,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i if (flag&BF_MAGIC) {
if(!(skill_get_inf(skill_num)&INF_GROUND_SKILL) && rand()%100 < 75)
return 0;
- } else
+ } else if (flag&BF_WEAPON)
damage >>=1;
}
}
|