summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-11 03:10:55 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-11 03:10:55 +0000
commit0c6df6d9aeb990235b65e4f33f6fdc2cb8d3fc03 (patch)
tree4b5031fe7da93ec44b0004c16baae5c8762333c4 /src/map/battle.c
parent114199854324d9d3ef203fecc6969c747e22404d (diff)
downloadhercules-0c6df6d9aeb990235b65e4f33f6fdc2cb8d3fc03.tar.gz
hercules-0c6df6d9aeb990235b65e4f33f6fdc2cb8d3fc03.tar.bz2
hercules-0c6df6d9aeb990235b65e4f33f6fdc2cb8d3fc03.tar.xz
hercules-0c6df6d9aeb990235b65e4f33f6fdc2cb8d3fc03.zip
* Updated Breaker, Cloaking
* Corrected 1206Sakexe's packet detection git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1222 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index f1fdf3efa..87d4cd03a 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -267,8 +267,10 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
status_change_end(bl,SC_SAFETYWALL,-1);
}
}
- if(sc_data[SC_PNEUMA].timer!=-1 && damage>0 && ((flag&BF_WEAPON && flag&BF_LONG && skill_num != NPC_GUIDEDATTACK) ||
- (flag&BF_MISC && (skill_num == HT_BLITZBEAT || skill_num == SN_FALCONASSAULT)))){ // [DracoRPG]
+ if(sc_data[SC_PNEUMA].timer!=-1 && damage>0 &&
+ ((flag&BF_WEAPON && flag&BF_LONG && skill_num != NPC_GUIDEDATTACK) ||
+ (flag&BF_MISC && (skill_num == HT_BLITZBEAT || skill_num == SN_FALCONASSAULT)) ||
+ (flag&BF_MAGIC && skill_num == ASC_BREAKER))){ // [DracoRPG]
// j[}
damage=0;
}