Преглед изворни кода

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

Follow up to ea8da71
Nicolas Aravena пре 6 месеци
родитељ
комит
502be03ec2
1 измењених фајлова са 2 додато и 0 уклоњено
  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))
 				return 0; // Can't cast on non-dead characters.
 		break;
+#ifndef RENEWAL
 		case MO_FINGEROFFENSIVE:
 			if(sd)
 				casttime += casttime * min(skill_lv, sd->spiritball);
 		break;
+#endif
 		case MO_EXTREMITYFIST:
 			if (sc && sc->getSCE(SC_COMBO) &&
 			   (sc->getSCE(SC_COMBO)->val1 == MO_COMBOFINISH ||