recall scrolls take double the time to execute
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user