├── README.md
└── Solocraft.cpp
/README.md:
--------------------------------------------------------------------------------
1 | Description
2 | ===========
3 |
4 | These are my extensions to the [TrinityCore][4] WoW Server Emulator for WoW
5 | version 3.3.5a that are targetted toward soloing (or with a very small party)
6 | the group content in WoW like dungeons and raids at the level the content was
7 | meant for instead of having to come back and solo when you are 20 levels higher
8 | than the content.
9 |
10 | The goal is to automatically apply stat buffs, HP regeneration, procs like
11 | dispelling target regeneration buffs, and other things to the player based on
12 | the instance the player has entered and the size of the party they are in to
13 | make up the non-deal party makeup.
14 |
15 | [4]:
16 |
17 | Installation
18 | ------------
19 |
20 | While following the [TrinityCore installation guide][1] after you have used git
21 | to grab the TrinityCore source but before you [run cmake][2] you need to add
22 | this git submodule:
23 |
24 | `git submodule add https://github.com/DavidMacalaster/Solocraft.git
25 | src/server/scripts/Custom/Solocraft`
26 |
27 | then add Solocraft to [src/server/scripts/Custom/custom_script_loader.cpp][3]:
28 |
29 | [3]:
30 |
31 | ```c++
32 | // This is where scripts' loading functions should be declared:
33 | void AddSC_solocraft();
34 |
35 | // The name of this function should match: void Add${NameOfDirectory}Scripts()
36 | void AddCustomScripts()
37 | {
38 | AddSC_solocraft();
39 | }
40 | ```
41 |
42 | [1]:
43 |
44 | [2]:
45 |
--------------------------------------------------------------------------------
/Solocraft.cpp:
--------------------------------------------------------------------------------
1 | #include