summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 10:12:26 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 10:12:26 +0000
commitd5c10b3c0b55a63c7bd89e43dc7a79c977bd259e (patch)
tree084956738a20b6894c8ab2630d1ba0f9adc5ec0c /src/map/skill.c
parent484befb98681e8cd75b67936398a7a1514c70ca9 (diff)
downloadhercules-d5c10b3c0b55a63c7bd89e43dc7a79c977bd259e.tar.gz
hercules-d5c10b3c0b55a63c7bd89e43dc7a79c977bd259e.tar.bz2
hercules-d5c10b3c0b55a63c7bd89e43dc7a79c977bd259e.tar.xz
hercules-d5c10b3c0b55a63c7bd89e43dc7a79c977bd259e.zip
Fixed bugreport:2564 da scenario:
- mage casts firebolt on professor with doublecasting+maya, if reflected, the fire bolt would trigger double casting. no longer happens (bug fixed). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15782 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index d602cc799..e47ee2b6d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2113,6 +2113,8 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
sc = status_get_sc(bl);
if (sc && !sc->count)
sc = NULL; //Don't need it.
+ /* bugreport:2564 flag&2 disables double casting trigger */
+ flag |= 2;
//Spirit of Wizard blocks Kaite's reflection
if( type == 2 && sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_WIZARD )