recall scrolls take double the time to execute

This commit is contained in:
2024-04-05 20:58:38 -05:00
parent 4de40d054b
commit 4707bb11f0
@@ -1667,6 +1667,8 @@ public enum PowersManager {
Vector3fImmutable targetLoc, PowersBase pb, int trains, Vector3fImmutable targetLoc, PowersBase pb, int trains,
boolean fromItem) { boolean fromItem) {
int time = pb.getCastTime(trains); int time = pb.getCastTime(trains);
if(fromItem == true && pb.name.equals("Recall"))
time *= 2;
if (!fromItem) if (!fromItem)
finishApplyPowerA(ac, target, targetLoc, pb, trains, false); finishApplyPowerA(ac, target, targetLoc, pb, trains, false);
else if (time == 0) else if (time == 0)