Various Updates

Refactors factional presence tracking from src to dsrc for more flexibility and hooking to GCW leaderboard for scaled scoring later
Addresses a number of faction base and faction presence GU items
Rescripted gmRevive to have more functionality
Restore Planet Map Cats to final day
This commit is contained in:
AconiteGodOfSWG
2021-03-31 12:13:09 -04:00
parent bb20b35fd8
commit 04a32e3e95
9 changed files with 531 additions and 65 deletions
@@ -170,4 +170,50 @@ public class space_skill extends script.base_script
}
return false;
}
public static boolean hasTier3Skills(obj_id player) throws InterruptedException {
if (hasRebelSkill(player))
{
return (hasSkill(player, "pilot_rebel_navy_droid_03"));
}
if (hasImperialSkill(player))
{
return (hasSkill(player, "pilot_imperial_navy_droid_03"));
}
if (hasPilotSkill(player))
{
return (hasSkill(player, "pilot_neutral_droid_03"));
}
return false;
}
public static boolean hasTier2Skills(obj_id player) throws InterruptedException {
if (hasRebelSkill(player))
{
return (hasSkill(player, "pilot_rebel_navy_droid_02"));
}
if (hasImperialSkill(player))
{
return (hasSkill(player, "pilot_imperial_navy_droid_02"));
}
if (hasPilotSkill(player))
{
return (hasSkill(player, "pilot_neutral_droid_02"));
}
return false;
}
public static boolean hasTier1Skills(obj_id player) throws InterruptedException {
if (hasRebelSkill(player))
{
return (hasSkill(player, "pilot_rebel_navy_droid_01"));
}
if (hasImperialSkill(player))
{
return (hasSkill(player, "pilot_imperial_navy_droid_01"));
}
if (hasPilotSkill(player))
{
return (hasSkill(player, "pilot_neutral_droid_01"));
}
return false;
}
}