mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
Merge pull request #135 from AconiteGodOfSWG/roadmapfixes2
roadmap fixes
This commit is contained in:
@@ -2691,6 +2691,10 @@ public class gcw extends script.base_script
|
||||
CustomerServiceLog("gcw_city_invasion", "gcw.gcwIsInvasionCityOn: GCW City: " + city + " is not configured to run a city invasion. Function returning False.");
|
||||
return false;
|
||||
}
|
||||
if (city.equalsIgnoreCase("dearic") && utils.checkConfigFlag("GameServer", "lifeday")) {
|
||||
CustomerServiceLog("gcw_city_invasion", "gcw.gcwIsInvasionCityOn: GCW City: " + city + " is not running because life day is turned on.");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
public static int gcwGetNextInvasionHour(String cityName) throws InterruptedException
|
||||
|
||||
@@ -1424,10 +1424,6 @@ public class performance extends script.base_script
|
||||
performanceMessageToSelf(actor, null, SID_DANCE_UNKNOWN_SELF);
|
||||
return;
|
||||
}
|
||||
if (!notShapechanged(actor))
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!canPerformDance(actor, performanceIndex))
|
||||
{
|
||||
performanceMessageToSelf(actor, null, SID_DANCE_LACK_SKILL_SELF);
|
||||
@@ -1561,10 +1557,6 @@ public class performance extends script.base_script
|
||||
performanceMessageToSelf(actor, null, SID_DANCE_UNKNOWN_SELF);
|
||||
return;
|
||||
}
|
||||
if (!notShapechanged(actor))
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!canPerformDance(actor, performanceIndex))
|
||||
{
|
||||
performanceMessageToSelf(actor, null, SID_DANCE_LACK_SKILL_SELF);
|
||||
@@ -2876,10 +2868,6 @@ public class performance extends script.base_script
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!notShapechanged(actor))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
Vector available_dances = new Vector();
|
||||
available_dances.setSize(0);
|
||||
int num_items = dataTableGetNumRows(DATATABLE_PERFORMANCE);
|
||||
|
||||
Reference in New Issue
Block a user