diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-07-09 12:15:04 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-07-09 12:15:04 +0000 |
commit | 7d396ef4ecd85de70c6b6cc7836dea5874bd05a6 (patch) | |
tree | 9c20e40a4a888d0022b715a22858c8b37f870fb4 /src/map/battle.c | |
parent | 1f8c922a8ffd8fb216c050b86fdbc4040e5780f6 (diff) | |
download | hercules-7d396ef4ecd85de70c6b6cc7836dea5874bd05a6.tar.gz hercules-7d396ef4ecd85de70c6b6cc7836dea5874bd05a6.tar.bz2 hercules-7d396ef4ecd85de70c6b6cc7836dea5874bd05a6.tar.xz hercules-7d396ef4ecd85de70c6b6cc7836dea5874bd05a6.zip |
A rather ugly fix to fix knockback for Firewall, Stormgust and Sanctuary
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10869 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index a40df7765..cda47fc8c 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2166,18 +2166,14 @@ struct Damage battle_calc_magic_attack( switch(skill_num) { case MG_FIREWALL: + ad.dmotion = 0; //No flinch animation. if(mflag) //mflag has a value when it was checked against an undead in skill.c [Skotlex] ad.blewcount = 0; //No knockback - else - ad.blewcount |= 0x10000; + break; case HW_GRAVITATION: ad.dmotion = 0; //No flinch animation. break; - case WZ_STORMGUST: //Should knockback randomly. - ad.blewcount|=0x40000; - break; case PR_SANCTUARY: - ad.blewcount|=0x10000; ad.dmotion = 0; //No flinch animation. break; } |