diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-07 17:06:15 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-07 17:06:15 +0000 |
commit | 32822845ab08504aa6069edf5c7fb46f2563ec7d (patch) | |
tree | 22869496a98e41fd6444968a5deecf9a2435247d /src/map/battle.c | |
parent | 0ab69f954771d77c509022c4dd6fc968b6bf4691 (diff) | |
download | hercules-32822845ab08504aa6069edf5c7fb46f2563ec7d.tar.gz hercules-32822845ab08504aa6069edf5c7fb46f2563ec7d.tar.bz2 hercules-32822845ab08504aa6069edf5c7fb46f2563ec7d.tar.xz hercules-32822845ab08504aa6069edf5c7fb46f2563ec7d.zip |
- skill_blown flag&0x40000 now knocks back in a random direction.
- Some small cleanups to prevent skill_blown execution when the distance is 0 or the target couldn't be knocked back.
- WZ_STORMGUST now knocks back on a random direction.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5484 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index a215f3af9..81d7a5d11 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2416,6 +2416,9 @@ struct Damage battle_calc_magic_attack( } else
ad.blewcount |= 0x10000;
break;
+ case WZ_STORMGUST: //Should knockback randomly.
+ ad.blewcount|=0x40000;
+ break;
case PR_SANCTUARY:
ad.blewcount|=0x10000;
case AL_HEAL:
|