Kitzunu
2021-01-10 14:27:55 +01:00
committed by GitHub
parent 7cf097eab2
commit da4edd547d
315 changed files with 3 additions and 729 deletions

View File

@@ -35,7 +35,6 @@ enum SpecialPets
class PetAI : public CreatureAI
{
public:
explicit PetAI(Creature* c);
void UpdateAI(uint32) override;

View File

@@ -14,7 +14,6 @@ class Unit;
class ReactorAI : public CreatureAI
{
public:
explicit ReactorAI(Creature* c) : CreatureAI(c) {}
void MoveInLineOfSight(Unit*) override {}

View File

@@ -16,7 +16,6 @@ class Totem;
class TotemAI : public CreatureAI
{
public:
explicit TotemAI(Creature* c);
void MoveInLineOfSight(Unit* who) override;

View File

@@ -116,7 +116,6 @@ namespace FactorySelector
}*/
return (mv_factory == NULL ? NULL : mv_factory->Create(creature));
}
GameObjectAI* SelectGameObjectAI(GameObject* go)

View File

@@ -104,7 +104,6 @@ void npc_escortAI::MoveInLineOfSight(Unit* who)
}
AttackStart(who);
}
}
void npc_escortAI::JustDied(Unit* /*killer*/)

View File

@@ -1172,7 +1172,6 @@ void SmartGameObjectAI::SpellHit(Unit* unit, const SpellInfo* spellInfo)
class SmartTrigger : public AreaTriggerScript
{
public:
SmartTrigger() : AreaTriggerScript("SmartTrigger") {}
bool OnTrigger(Player* player, AreaTrigger const* trigger) override

View File

@@ -2630,7 +2630,6 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
}
else
(*itr)->ToCreature()->SetHomePosition((*itr)->GetPositionX(), (*itr)->GetPositionY(), (*itr)->GetPositionZ(), (*itr)->GetOrientation());
}
delete targets;
}

View File

@@ -307,7 +307,6 @@ private:
mStoredEvents.erase(i);
return;
}
}
}
}
@@ -321,7 +320,6 @@ private:
{
return (*i);
}
}
}
SmartScriptHolder s;

View File

@@ -1099,7 +1099,6 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
}
case SMART_ACTION_EQUIP:
{
if (e.GetScriptType() == SMART_SCRIPT_TYPE_CREATURE)
{
int8 equipId = (int8)e.action.equip.entry;

View File

@@ -702,7 +702,6 @@ struct SmartAction
struct
{
uint32 emote1;
uint32 emote2;
uint32 emote3;
@@ -1697,7 +1696,6 @@ public:
bool active;
bool runOnce;
bool enableTimed;
};
typedef std::unordered_map<uint32, WayPoint*> WPPath;