Would be better to create the spawneable minions in block with validLocation
C#:
         if (validLocation)
            {
                spawned.MoveToWorld(loc, map);
                spawned.Combatant = m;
}
Because otherwise, if the map doesn't find a valid place in the range to spawn, you'll get a memory leak, where the minions will stuck and saved in Internal map.
 
Would be better to create the spawneable minions in block with validLocation
C#:
         if (validLocation)
            {
                spawned.MoveToWorld(loc, map);
                spawned.Combatant = m;
}
Because otherwise, if the map doesn't find a valid place in the range to spawn, you'll get a memory leak, where the minions will stuck and saved in Internal map.
Thank you for advise !! Apreciated ! But so far is it working good?
 
I wish I could let you know my thoughts on it but sadly, it doesn't even compile.
 
Back