Browse Source

Fix cast time for MO_FINGEROFFENSIVE in RENEWAL mode (#8770)

Follow up to ea8da71
Nicolas Aravena 6 months ago
parent
commit
502be03ec2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/map/unit.cpp

+ 2 - 0
src/map/unit.cpp

@@ -2020,10 +2020,12 @@ int unit_skilluse_id2(struct block_list *src, int target_id, uint16 skill_id, ui
 			else if (!status_isdead(*target))
 			else if (!status_isdead(*target))
 				return 0; // Can't cast on non-dead characters.
 				return 0; // Can't cast on non-dead characters.
 		break;
 		break;
+#ifndef RENEWAL
 		case MO_FINGEROFFENSIVE:
 		case MO_FINGEROFFENSIVE:
 			if(sd)
 			if(sd)
 				casttime += casttime * min(skill_lv, sd->spiritball);
 				casttime += casttime * min(skill_lv, sd->spiritball);
 		break;
 		break;
+#endif
 		case MO_EXTREMITYFIST:
 		case MO_EXTREMITYFIST:
 			if (sc && sc->getSCE(SC_COMBO) &&
 			if (sc && sc->getSCE(SC_COMBO) &&
 			   (sc->getSCE(SC_COMBO)->val1 == MO_COMBOFINISH ||
 			   (sc->getSCE(SC_COMBO)->val1 == MO_COMBOFINISH ||