diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-21 17:55:19 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-21 17:55:19 +0000 |
commit | 90d59676f4e34d970a7c89d82afc8b57f4b34dc8 (patch) | |
tree | 11036b1d86c60f41403827ae6391545b14afac71 /src/map/battle.c | |
parent | 30eed6413ac034f94e6aa2e0064318f153cb2cf8 (diff) | |
download | hercules-90d59676f4e34d970a7c89d82afc8b57f4b34dc8.tar.gz hercules-90d59676f4e34d970a7c89d82afc8b57f4b34dc8.tar.bz2 hercules-90d59676f4e34d970a7c89d82afc8b57f4b34dc8.tar.xz hercules-90d59676f4e34d970a7c89d82afc8b57f4b34dc8.zip |
- Adjusted Glittering's success rate to 20+10*lv%
- Corrected isequipped() so that cards will not be tagged as "used up" unless all the specified items were found.
- Fixed a confusion in skill_attack using the src instead of dsrc for some calls, which was causing some problems with the KAITE check from AoE spells.
- Fixed ASC_BREAKER's misc damage part not having the ignore-element flag set.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8406 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index c645399e7..51101b3c0 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2519,13 +2519,14 @@ struct Damage battle_calc_misc_attack( case PA_PRESSURE: case GS_FLING: case NJ_ZENYNAGE: - flag.elefix = flag.cardfix = 0; + flag.cardfix = 0; + case ASC_BREAKER: + flag.elefix = 0; case HT_BLITZBEAT: case TF_THROWSTONE: case SN_FALCONASSAULT: case PA_GOSPEL: case CR_ACIDDEMONSTRATION: - case ASC_BREAKER: md.flag = (md.flag&~BF_RANGEMASK)|BF_LONG; break; case HVAN_EXPLOSION: |