summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 03:14:49 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 03:14:49 +0000
commit5e6480cb11403f8f634a1cfc9648c7ec654c0fb8 (patch)
tree3da0741855ac2ef854d9176edf624bf3ad3525c3 /src/map/battle.c
parenteed71eb448822a5e68168714f9f8e597511a09d7 (diff)
downloadhercules-5e6480cb11403f8f634a1cfc9648c7ec654c0fb8.tar.gz
hercules-5e6480cb11403f8f634a1cfc9648c7ec654c0fb8.tar.bz2
hercules-5e6480cb11403f8f634a1cfc9648c7ec654c0fb8.tar.xz
hercules-5e6480cb11403f8f634a1cfc9648c7ec654c0fb8.zip
- Fixed Taekwon stances not triggering.
- Added atcommand @exp - Added error reporting when add_timer_interval receives a negative/0 interval value. - Fixed a possible infinite recursion bug with splash self skills. - Modified the way firewall_hits_on_undead works, to loop and invoke multiple skill_attacks based on the value. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5338 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 7439760b5..78cb1bb15 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2422,8 +2422,7 @@ struct Damage battle_calc_magic_attack(
switch(skill_num)
{
case MG_FIREWALL:
- if(mflag) { //mflag has a value when it was checked it works against an undead in skill.c [Skotlex]
- ad.div_ = mflag; //mflag contains the number of hits against undead.
+ if(mflag) { //mflag has a value when it was checked against an undead in skill.c [Skotlex]
ad.blewcount = 0; //No knockback
ad.dmotion = 0; //No flinch animation.
} else