summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2017-12-23 16:02:48 +0000
committerAsheraf <acheraf1998@gmail.com>2017-12-23 17:45:20 +0000
commit51b68a07b877febe6d7e5242a951d66f11b3dd3c (patch)
tree466397fc920b4578eb861570bf8df17b161d73d6 /src/map/skill.h
parent99c34eb5637fc48eba2998e304697b96ad6e89bf (diff)
downloadhercules-51b68a07b877febe6d7e5242a951d66f11b3dd3c.tar.gz
hercules-51b68a07b877febe6d7e5242a951d66f11b3dd3c.tar.bz2
hercules-51b68a07b877febe6d7e5242a951d66f11b3dd3c.tar.xz
hercules-51b68a07b877febe6d7e5242a951d66f11b3dd3c.zip
Replace the use of skill_reproduce_db with AllowReproduce flag
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index 1e00e488f..c494c0e83 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -123,6 +123,7 @@ enum e_skill_inf2 {
INF2_FREE_CAST_NORMAL = 0x08000,
INF2_FREE_CAST_REDUCED = 0x10000,
INF2_SHOW_SKILL_SCALE = 0x20000,
+ INF2_ALLOW_REPRODUCE = 0x40000,
};
@@ -1897,7 +1898,6 @@ BEGIN_ZEROED_BLOCK; // This block will be zeroed in skill_defaults() as well as
struct s_skill_improvise_db improvise_db[MAX_SKILL_IMPROVISE_DB];
struct s_skill_changematerial_db changematerial_db[MAX_SKILL_PRODUCE_DB];
struct s_skill_spellbook_db spellbook_db[MAX_SKILL_SPELLBOOK_DB];
- bool reproduce_db[MAX_SKILL_DB];
END_ZEROED_BLOCK;
struct s_skill_unit_layout unit_layout[MAX_SKILL_UNIT_LAYOUT];
};
@@ -2121,7 +2121,6 @@ struct skill_interface {
bool (*parse_row_abradb) (char* split[], int columns, int current);
bool (*parse_row_spellbookdb) (char* split[], int columns, int current);
bool (*parse_row_magicmushroomdb) (char* split[], int column, int current);
- bool (*parse_row_reproducedb) (char* split[], int column, int current);
bool (*parse_row_improvisedb) (char* split[], int columns, int current);
bool (*parse_row_changematerialdb) (char* split[], int columns, int current);
/* save new unit skill */