diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-24 03:53:29 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-24 03:53:29 +0000 |
commit | 1800c885bb10c31ac22ba222e79ae17e7459e8ac (patch) | |
tree | 5f479b72d13c248c5018b37d7c9c5f1313c4861f /src/map/battle.c | |
parent | 1ee38cb82d69a58dbff91a148d68658ab679e352 (diff) | |
download | hercules-1800c885bb10c31ac22ba222e79ae17e7459e8ac.tar.gz hercules-1800c885bb10c31ac22ba222e79ae17e7459e8ac.tar.bz2 hercules-1800c885bb10c31ac22ba222e79ae17e7459e8ac.tar.xz hercules-1800c885bb10c31ac22ba222e79ae17e7459e8ac.zip |
- Added new column to mob_db Sprite_Name to hold the mob's sprite name. Columns Name and JName now hold the mob's english and kro names respectively.
- Currently both Name and Jname have the KRO names, so someone will have to update them.
- Updated mob_db.sql and mob_db2.sql to latest.
- Added battle_config option override_mob_names to make the spawned mob names use the mob_db names instead of the specified names in the spawn files.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6246 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 1136ec989..f05edf291 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3884,6 +3884,8 @@ static const struct battle_data_short { { "mob_max_status_def", &battle_config.mob_max_sc_def },
{ "sg_miracle_skill_ratio", &battle_config.sg_miracle_skill_ratio },
{ "autospell_stacking", &battle_config.autospell_stacking },
+ { "override_mob_names", &battle_config.override_mob_names },
+
};
static const struct battle_data_int {
@@ -4285,6 +4287,7 @@ void battle_set_defaults() { battle_config.sg_miracle_skill_ratio=1;
battle_config.sg_miracle_skill_duration=600000;
battle_config.autospell_stacking = 0;
+ battle_config.override_mob_names = 0;
}
void battle_validate_conf() {
|