Start adding missing scripts Part2

This commit is contained in:
hondacrx
2022-07-05 15:39:49 -04:00
parent 54d5d59898
commit 8cfd263fea
8 changed files with 2014 additions and 2 deletions
+5
View File
@@ -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))
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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) =>
{