mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-11 22:45:06 -04:00
3.1 Config Refactor
This commit is contained in:
@@ -471,21 +471,8 @@ public class bounty_hunter extends script.base_script
|
||||
return false;
|
||||
}
|
||||
int numHunters = hunters.length;
|
||||
String Smax = getConfigSetting("GameServer", "maxJediBounties");
|
||||
int maxHunters = 3;
|
||||
if (Smax != null && !Smax.equals(""))
|
||||
{
|
||||
Integer Imax = Integer.getInteger(Smax);
|
||||
if (Imax != null)
|
||||
{
|
||||
maxHunters = Imax;
|
||||
}
|
||||
}
|
||||
if (numHunters >= maxHunters)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
int maxHunters = utils.getIntConfigSetting("GameServer", "maxJediBounties", 3);
|
||||
return numHunters >= maxHunters;
|
||||
}
|
||||
public static float getBountyFactionPointAdjustment(obj_id hunter, obj_id target) throws InterruptedException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user