Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
You can now define custom battle config structure members in src/custom/battle_config_struct.inc and initialize them in src/custom/battle_config_init.inc You can put the configuration into any battle configuration file, but we recommend you to put it into conf/import/battle_conf.txt
- Loading branch information
1 parent
5090693
commit 8857ff6
Showing
4 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL | ||
This comment has been minimized.
Sorry, something went wrong. |
||
// For more information, see LICENCE in the main folder | ||
|
||
/** | ||
* Custom battle config initializations | ||
* Place the definition of custom battle configuration initializations in this file. | ||
* | ||
* Do not forget to add a comma at the end of the line, if you want to add another config | ||
* | ||
* Format: | ||
* { "name", &battle_config.<variable name>, <default value>, <minimum value>, <maximum value> }, | ||
**/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL | ||
// For more information, see LICENCE in the main folder | ||
|
||
/** | ||
* Custom battle config structure | ||
* Place the definition of custom battle configuration structure members in this file. | ||
* | ||
* Make sure that the name you want is not already taken by looking into battle.h | ||
* Do not forget to add initilization logic to battle_config_init.inc | ||
* | ||
* Format: | ||
* <datatype> name; | ||
**/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rAthena
:v