forked from MagicBane/Server
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,
|
||||
boolean fromItem) {
|
||||
int time = pb.getCastTime(trains);
|
||||
if(fromItem == true && pb.name.equals("Recall"))
|
||||
time *= 2;
|
||||
if (!fromItem)
|
||||
finishApplyPowerA(ac, target, targetLoc, pb, trains, false);
|
||||
else if (time == 0)
|
||||
|
||||
Reference in New Issue
Block a user