Explore Enterprise Education Gitee Premium Gitee AI AI teammates
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
1 Star 0 Fork 1

SpringJoy/server

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
Already have an account? Sign in
文件
development
Branches (6)
Tags (34)
development
release
spellextract
progression
autoptr_replace
Giperion
database-5
1.3.3.1
1.3.3
1.3.2
1.3.1
1.3
1.2.6.2
1.2.6.1
1.2.6
1.2.5.2
1.2.5.1
1.2.5
1.2.4.1
1.2.4
1.2.3
1.2.2
database-1.0
release-1.2.1.1
release-1.2.1
release-1.2
development
Branches (6)
Tags (34)
development
release
spellextract
progression
autoptr_replace
Giperion
database-5
1.3.3.1
1.3.3
1.3.2
1.3.1
1.3
1.2.6.2
1.2.6.1
1.2.6
1.2.5.2
1.2.5.1
1.2.5
1.2.4.1
1.2.4
1.2.3
1.2.2
database-1.0
release-1.2.1.1
release-1.2.1
release-1.2
Clone or Download
Clone/Download
Prompt
To download the code, please copy the following command and execute it in the terminal
To ensure that your submitted code identity is correctly recognized by Gitee, please execute the following command.
When using the SSH protocol for the first time to clone or push code, follow the prompts below to complete the SSH configuration.
1 Generate RSA keys.
2 Obtain the content of the RSA public key and configure it in SSH Public Keys
To use SVN on Gitee, please visit the usage guide
When using the HTTPS protocol, the command line will prompt for account and password verification as follows. For security reasons, Gitee recommends configure and use personal access tokens instead of login passwords for cloning, pushing, and other operations.
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # Private Token
development
Branches (6)
Tags (34)
development
release
spellextract
progression
autoptr_replace
Giperion
database-5
1.3.3.1
1.3.3
1.3.2
1.3.1
1.3
1.2.6.2
1.2.6.1
1.2.6
1.2.5.2
1.2.5.1
1.2.5
1.2.4.1
1.2.4
1.2.3
1.2.2
database-1.0
release-1.2.1.1
release-1.2.1
release-1.2
server
/
src
/
scripts
/
world
/
guards.cpp
server
/
src
/
scripts
/
world
/
guards.cpp
guards.cpp 4.42 KB
Copy Edit Raw Blame History
shenna authored 2017年03月10日 05:38 +08:00 . Initial Commit / Core Files
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* ScriptData
SDName: Guards
SD%Complete: 100
SDComment: All Guard gossip data, quite some npc_text-id's still missing, adding constantly as new id's are known. CombatAI should be organized better for future.
SDCategory: Guards
EndScriptData */
/* ContentData
guard_contested
guard_darnassus
guard_dunmorogh
guard_durotar
guard_elwynnforest
guard_ironforge
guard_mulgore
guard_orgrimmar
guard_stormwind
guard_teldrassil
guard_tirisfal
guard_undercity
EndContentData */
#include "scriptPCH.h"
CreatureAI* GetAI_guard_contested(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_darnassus(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_dunmorogh(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_durotar(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_elwynnforest(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_ironforge(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_mulgore(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_orgrimmar(Creature* pCreature)
{
return new guardAI_orgrimmar(pCreature);
}
CreatureAI* GetAI_guard_stormwind(Creature* pCreature)
{
return new guardAI_stormwind(pCreature);
}
CreatureAI* GetAI_guard_teldrassil(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_tirisfal(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_undercity(Creature* pCreature)
{
return new guardAI(pCreature);
}
CreatureAI* GetAI_guard_bluffwatcher(Creature* pCreature)
{
return new guardAI(pCreature);
}
void AddSC_guards()
{
Script *newscript;
newscript = new Script;
newscript->Name = "guard_contested";
newscript->GetAI = &GetAI_guard_contested;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_darnassus";
newscript->GetAI = &GetAI_guard_darnassus;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_dunmorogh";
newscript->GetAI = &GetAI_guard_dunmorogh;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_durotar";
newscript->GetAI = &GetAI_guard_durotar;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_elwynnforest";
newscript->GetAI = &GetAI_guard_elwynnforest;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_ironforge";
newscript->GetAI = &GetAI_guard_ironforge;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_mulgore";
newscript->GetAI = &GetAI_guard_mulgore;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_orgrimmar";
newscript->GetAI = &GetAI_guard_orgrimmar;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_stormwind";
newscript->GetAI = &GetAI_guard_stormwind;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_teldrassil";
newscript->GetAI = &GetAI_guard_teldrassil;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_tirisfal";
newscript->GetAI = &GetAI_guard_tirisfal;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_undercity";
newscript->GetAI = &GetAI_guard_undercity;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "guard_bluffwatcher";
newscript->GetAI = &GetAI_guard_bluffwatcher;
newscript->RegisterSelf();
}
Loading...
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Please select a report type
Cancel
Send
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

About

60N服LightsHope
No labels
GPL-2.0
Use GPL-2.0
Cancel

Releases

No release

Contributors

All

Activities

can not load any more
Edit
About
Homepage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/SpringJoy/server.git
git@gitee.com:SpringJoy/server.git
SpringJoy
server
server
development
Going to Help Center

Search

Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register

AltStyle によって変換されたページ (->オリジナル) /