summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-13 02:52:06 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-13 02:52:06 +0000
commit022423b0ef56edb26303a4d5dfa497db617c9406 (patch)
tree1b5ddd8b916b4e73b6ce10db46c7112628b3d7e7 /src
parent11f718069761d2df79c8a127288d258db475ffa0 (diff)
downloadhercules-022423b0ef56edb26303a4d5dfa497db617c9406.tar.gz
hercules-022423b0ef56edb26303a4d5dfa497db617c9406.tar.bz2
hercules-022423b0ef56edb26303a4d5dfa497db617c9406.tar.xz
hercules-022423b0ef56edb26303a4d5dfa497db617c9406.zip
- Updated Safety wall so it does not blocks melee magic.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12062 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 0ada71a5e..9d3bfe31c 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -281,7 +281,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
if (sc && sc->count) {
//First, sc_*'s that reduce damage to 0.
- if( sc->data[SC_SAFETYWALL] && flag&BF_SHORT && skill_num != NPC_GUIDEDATTACK )
+ if( sc->data[SC_SAFETYWALL] && (flag&(BF_SHORT|BF_MAGIC))==BF_SHORT && skill_num != NPC_GUIDEDATTACK )
{
struct skill_unit_group *group = (struct skill_unit_group *)sc->data[SC_SAFETYWALL]->val3;
if (group) {