mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
Update BaseEnemyMech script to change the default faction
As part of the base enemy mech script its faction should be updated to 4 to make sure it's seen as an enemy by the client. The AgDarklingMech script has been deleted as its functionality was essentially that of BaseEnemyMech and thus no longer necessary.
This commit is contained in:
@@ -51,7 +51,6 @@
|
||||
#include "NpcCowboyServer.h"
|
||||
#include "ZoneAgMedProperty.h"
|
||||
#include "AgStromlingProperty.h"
|
||||
#include "AgDarklingMech.h"
|
||||
#include "AgDarkSpiderling.h"
|
||||
#include "PropertyFXDamage.h"
|
||||
#include "AgPropguards.h"
|
||||
@@ -377,7 +376,7 @@ CppScripts::Script* CppScripts::GetScript(Entity* parent, const std::string& scr
|
||||
else if (scriptName == "scripts\\ai\\AG\\L_AG_STROMBIE_PROPERTY.lua")
|
||||
script = new AgStromlingProperty();
|
||||
else if (scriptName == "scripts\\ai\\AG\\L_AG_DARKLING_MECH.lua")
|
||||
script = new AgDarklingMech();
|
||||
script = new BaseEnemyMech();
|
||||
else if (scriptName == "scripts\\ai\\AG\\L_AG_DARK_SPIDERLING.lua")
|
||||
script = new AgDarkSpiderling();
|
||||
else if (scriptName == "scripts\\ai\\PROPERTY\\L_PROP_GUARDS.lua")
|
||||
|
Reference in New Issue
Block a user