Default value for Spawn chase range should be set to 0.
This commit is contained in:
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -72,7 +72,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
/** Maximum respawn delay */
|
||||
private int _respawnMaxDelay;
|
||||
/** Maximum distance monsters can be pulled away from spawn. */
|
||||
private int _chaseRange;
|
||||
private int _chaseRange = 0;
|
||||
/** The generic constructor of Npc managed by this Spawn */
|
||||
private Constructor<? extends Npc> _constructor;
|
||||
/** If True an Npc is respawned each time that another is killed */
|
||||
|
@@ -72,7 +72,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
/** Maximum respawn delay */
|
||||
private int _respawnMaxDelay;
|
||||
/** Maximum distance monsters can be pulled away from spawn. */
|
||||
private int _chaseRange;
|
||||
private int _chaseRange = 0;
|
||||
/** The generic constructor of Npc managed by this Spawn */
|
||||
private Constructor<? extends Npc> _constructor;
|
||||
/** If True an Npc is respawned each time that another is killed */
|
||||
|
@@ -72,7 +72,7 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
/** Maximum respawn delay */
|
||||
private int _respawnMaxDelay;
|
||||
/** Maximum distance monsters can be pulled away from spawn. */
|
||||
private int _chaseRange;
|
||||
private int _chaseRange = 0;
|
||||
/** The generic constructor of Npc managed by this Spawn */
|
||||
private Constructor<? extends Npc> _constructor;
|
||||
/** If True an Npc is respawned each time that another is killed */
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
@@ -536,6 +536,10 @@ public class Spawn extends Location implements IIdentifiable, INamable
|
||||
|
||||
public int getChaseRange()
|
||||
{
|
||||
if (_spawnTemplate == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return _spawnTemplate.getChaseRange();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user