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://svn.code.sf.net/p/rathena/svn/trunk@15782 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-03-23 10:12:26 +00:00
parent 1f7f269eea
commit af234c561a

View File

@ -2113,6 +2113,8 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
sc = status_get_sc(bl); sc = status_get_sc(bl);
if (sc && !sc->count) if (sc && !sc->count)
sc = NULL; //Don't need it. sc = NULL; //Don't need it.
/* bugreport:2564 flag&2 disables double casting trigger */
flag |= 2;
//Spirit of Wizard blocks Kaite's reflection //Spirit of Wizard blocks Kaite's reflection
if( type == 2 && sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_WIZARD ) if( type == 2 && sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_WIZARD )