rendered paste body#include "StdAfx.h"
#include "Setup.h"
class Auber_Exo : public GameObjectAIScript
{
public:
Auber_Exo(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(530, 0, -4271.2, -11340.5, 6.4, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Auber_Exo(GO); }
};
GameObjectAIScript * create_go(GameObject * GO) { return new Auber_Exo(GO); }
class Auber_Menet : public GameObjectAIScript
{
public:
Auber_Menet(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(0, 0, -3770.8, -741.0, 8.1, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Auber_Menet(GO); }
};
GameObjectAIScript * create_go2(GameObject * GO) { return new Auber_Menet(GO); }
class Auber_Teldra : public GameObjectAIScript
{
public:
Auber_Teldra(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, 8552.6, 1016.3, 6.5, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Auber_Teldra(GO); }
};
GameObjectAIScript * create_go3(GameObject * GO) { return new Auber_Teldra(GO); }
class BB_ratchet: public GameObjectAIScript
{
public:
BB_ratchet(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, -989.4, -3828.7, 6.4, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new BB_ratchet(GO); }
};
GameObjectAIScript * create_go4(GameObject * GO) { return new BB_ratchet(GO); }
class Exo_Auber: public GameObjectAIScript
{
public:
Exo_Auber(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, 6499.8, 795.6, 7.9, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Exo_Auber(GO); }
};
GameObjectAIScript * create_go5(GameObject * GO) { return new Exo_Auber(GO); }
class Forgo_Feat: public GameObjectAIScript
{
public:
Forgo_Feat(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, -4218.9, 3292.0, 4.0, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Forgo_Feat(GO); }
};
GameObjectAIScript * create_go6(GameObject * GO) { return new Forgo_Feat(GO); }
class Forgo_Feat2: public GameObjectAIScript
{
public:
Forgo_Feat2(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, -4218.9, 3292.0, 4.0, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Forgo_Feat2(GO); }
};
GameObjectAIScript * create_go7(GameObject * GO) { return new Forgo_Feat2(GO); }
class GROM_ORG: public GameObjectAIScript
{
public:
GROM_ORG(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, 1353.9, -4642.5, 53.6, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new GROM_ORG(GO); }
};
GameObjectAIScript * create_go9(GameObject * GO) { return new GROM_ORG(GO); }
class GROM_UND: public GameObjectAIScript
{
public:
GROM_UND(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, 2664.0, 288.5, 97.1, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new GROM_UND(GO); }
};
GameObjectAIScript * create_go10(GameObject * GO) { return new GROM_UND(GO); }
class Menet_Auber: public GameObjectAIScript
{
public:
Menet_Auber(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, 6499.8, 795.6, 7.9, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Menet_Auber(GO); }
};
GameObjectAIScript * create_go13(GameObject * GO) { return new Menet_Auber(GO); }
class Menet_Thera: public GameObjectAIScript
{
public:
Menet_Thera(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, 3991.2, -4735.0, 5.7, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Menet_Thera(GO); }
};
GameObjectAIScript * create_go14(GameObject * GO) { return new Menet_Thera(GO); }
class Org_grom: public GameObjectAIScript
{
public:
Org_grom(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(0, 0, -12417.8, 208.3, 31.4, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Org_grom(GO); }
};
GameObjectAIScript * create_go15(GameObject * GO) { return new Org_grom(GO); }
class Org_grom2: public GameObjectAIScript
{
public:
Org_grom2(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(0, 0, 2664.0, 288.5, 97.1, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Org_grom2(GO); }
};
GameObjectAIScript * create_go16(GameObject * GO) { return new Org_grom2(GO); }
class Racthet_BB: public GameObjectAIScript
{
public:
Racthet_BB(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(0, 0, -14280.0, 548.4, 9.7, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Racthet_BB(GO); }
};
GameObjectAIScript * create_go17(GameObject * GO) { return new Racthet_BB(GO); }
class Teldra_Auber: public GameObjectAIScript
{
public:
Teldra_Auber(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, 6499.8, 795.6, 7.9, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Teldra_Auber(GO); }
};
GameObjectAIScript * create_go18(GameObject * GO) { return new Teldra_Auber(GO); }
class Thera_Menet: public GameObjectAIScript
{
public:
Thera_Menet(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(0, 0, -3770.8, -741.0, 8.1, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Thera_Menet(GO); }
};
GameObjectAIScript * create_go19(GameObject * GO) { return new Thera_Menet(GO); }
class Und_Grom: public GameObjectAIScript
{
public:
Und_Grom(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(0, 0, -12417.8, 208.3, 31.4, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Und_Grom(GO); }
};
GameObjectAIScript * create_go23(GameObject * GO) { return new Und_Grom(GO); }
class Und_Org: public GameObjectAIScript
{
public:
Und_Org(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
void OnActivate(Player * pPlayer)
{
if(pPlayer->GetItemInterface()->GetItemCount(100000, 1));
{
pPlayer->SafeTeleport(1, 0, 1353.9, -4642.5, 53.6, 1);
}
}
static GameObjectAIScript *Create(GameObject * GO) { return new Und_Org(GO); }
};
GameObjectAIScript * create_go24(GameObject * GO) { return new Und_Org(GO); }
void SetupSCRIPT(ScriptMgr * mgr)
{
mgr->register_gameobject_script(200017, &Und_Grom::Create);
mgr->register_gameobject_script(200013, &Und_Org::Create);
mgr->register_gameobject_script(200009, &Thera_Menet::Create);
mgr->register_gameobject_script(200004, &Teldra_Auber::Create);
mgr->register_gameobject_script(200000, &Racthet_BB::Create);
mgr->register_gameobject_script(200012, &Org_grom2::Create);
mgr->register_gameobject_script(200015, &Org_grom::Create);
mgr->register_gameobject_script(200007, &Menet_Auber::Create);
mgr->register_gameobject_script(200008, &Menet_Thera::Create);
mgr->register_gameobject_script(200016, &GROM_UND::Create);
mgr->register_gameobject_script(200014, &GROM_ORG::Create);
mgr->register_gameobject_script(200001, &BB_ratchet::Create);
mgr->register_gameobject_script(200002, &Exo_Auber::Create);
mgr->register_gameobject_script(200003, &Auber_Exo::Create);
mgr->register_gameobject_script(200006, &Auber_Menet::Create);
mgr->register_gameobject_script(200005, &Auber_Teldra::Create);
mgr->register_gameobject_script(200010, &Forgo_Feat::Create);
mgr->register_gameobject_script(200011, &Forgo_Feat2::Create);
}