예제 #1
0
void AddSC_world_map_scripts()
{
    AutoScript s;

    s.newScript("world_map_eastern_kingdoms");
    s->GetInstanceData = &GetInstanceData_world_map_eastern_kingdoms;

    s.newScript("world_map_kalimdor");
    s->GetInstanceData = &GetInstanceData_world_map_kalimdor;

    s.newScript("world_map_outland");
    s->GetInstanceData = &GetInstanceData_world_map_outland;

    s.newScript("world_map_northrend");
    s->GetInstanceData = &GetInstanceData_world_map_northrend;
}
예제 #2
0
void AddSC_npc_professions()
{
    AutoScript s;

    s.newScript("npc_prof_blacksmith");
    s->pGossipHello =  &GossipHello_npc_prof_blacksmith;
    s->pGossipSelect = &GossipSelect_npc_prof_blacksmith;

    s.newScript("npc_prof_leather");
    s->pGossipHello =  &GossipHello_npc_prof_leather;
    s->pGossipSelect = &GossipSelect_npc_prof_leather;

    /*s.newScript("go_soothsaying_for_dummies");
    s->pGOUse =  &GOUse_go_soothsaying_for_dummies;
    // s->pGossipSelect = &GossipSelect_go_soothsaying_for_dummies;*/
}
void AddSC_bosses_emerald_dragons()
{
    AutoScript s;

    s.newScript("boss_emeriss");
    s->GetAI = &GetAI_boss_emeriss;

    s.newScript("boss_lethon");
    s->GetAI = &GetAI_boss_lethon;

    s.newScript("npc_spirit_shade");
    s->GetAI = &GetAI_npc_spirit_shade;

    s.newScript("boss_taerar");
    s->GetAI = &GetAI_boss_taerar;

    s.newScript("boss_ysondre");
    s->GetAI = &GetAI_boss_ysondre;

}
예제 #4
0
void AddSC_battlegroundIC()
{
    AutoScript s;
    s.newScript("go_ic_teleport")->pGOUse = &GOHello_go_ic_teleport;
    s.newScript("boss_bg_ioc")->GetAI = &GetAI_boss_bg_ioc;
}
예제 #5
0
void AddSC_areatrigger_scripts()
{
    AutoScript s;

    s.newScript("at_childrens_week_spot");
    s->pAreaTrigger = &AreaTrigger_at_childrens_week_spot;

    s.newScript("at_aldurthar_gate");
    s->pAreaTrigger = &AreaTrigger_at_aldurthar_gate;

    s.newScript("at_coilfang_waterfall");
    s->pAreaTrigger = &AreaTrigger_at_coilfang_waterfall;

    s.newScript("at_legion_teleporter");
    s->pAreaTrigger = &AreaTrigger_at_legion_teleporter;

    s.newScript("at_ravenholdt");
    s->pAreaTrigger = &AreaTrigger_at_ravenholdt;

    s.newScript("at_spearborn_encampment");
    s->pAreaTrigger = &AreaTrigger_at_spearborn_encampment;

    s.newScript("at_warsong_farms");
    s->pAreaTrigger = &AreaTrigger_at_warsong_farms;

    s.newScript("at_waygate");
    s->pAreaTrigger = &AreaTrigger_at_waygate;

    s.newScript("at_stormwright_shelf");
    s->pAreaTrigger = &AreaTrigger_at_stormwright_shelf;

    s.newScript("at_scent_larkorwi");
    s->pAreaTrigger = &AreaTrigger_at_scent_larkorwi;

    s.newScript("at_murkdeep");
    s->pAreaTrigger = &AreaTrigger_at_murkdeep;

    s.newScript("at_hot_on_the_trail");
    s->pAreaTrigger = &AreaTrigger_at_hot_on_the_trail;
}