Start adding missing scripts Part2
This commit is contained in:
@@ -639,6 +639,11 @@ namespace Game.AI
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
|
||||
public void _DespawnAtEvade()
|
||||
{
|
||||
_DespawnAtEvade(TimeSpan.FromSeconds(30));
|
||||
}
|
||||
|
||||
public void _DespawnAtEvade(TimeSpan delayToRespawn, Creature who = null)
|
||||
{
|
||||
if (delayToRespawn < TimeSpan.FromSeconds(2))
|
||||
|
||||
@@ -878,7 +878,7 @@ namespace Game.Maps
|
||||
return interval;
|
||||
}
|
||||
|
||||
bool InstanceHasScript(WorldObject obj, string scriptName)
|
||||
public bool InstanceHasScript(WorldObject obj, string scriptName)
|
||||
{
|
||||
InstanceMap instance = obj.GetMap().ToInstanceMap();
|
||||
if (instance != null)
|
||||
|
||||
@@ -874,7 +874,7 @@ namespace Game.Movement
|
||||
Add(new GenericMovementGenerator(initializer, MovementGeneratorType.Effect, 0));
|
||||
}
|
||||
|
||||
void MoveSmoothPath(uint pointId, Vector3[] pathPoints, int pathSize, bool walk = false, bool fly = false)
|
||||
public void MoveSmoothPath(uint pointId, Vector3[] pathPoints, int pathSize, bool walk = false, bool fly = false)
|
||||
{
|
||||
var initializer = (MoveSplineInit init) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user