Browse Source

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

shennetsind 13 years ago
parent
commit
af234c561a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/map/skill.c

+ 2 - 0
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 )