summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-17 04:56:18 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-01 02:01:56 +0200
commit887820f62769ffcc09de0053ba6a645b83cf74d9 (patch)
tree96027b9ae4650e2231c96dde806252d86f364670 /src/map/skill.h
parent529401c53e79ed848cea6dfaab75366d05174a43 (diff)
downloadhercules-887820f62769ffcc09de0053ba6a645b83cf74d9.tar.gz
hercules-887820f62769ffcc09de0053ba6a645b83cf74d9.tar.bz2
hercules-887820f62769ffcc09de0053ba6a645b83cf74d9.tar.xz
hercules-887820f62769ffcc09de0053ba6a645b83cf74d9.zip
Make Unit->Id can be grouped by levels
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index daa03d24e..b5d38e6e2 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -1778,7 +1778,7 @@ struct s_skill_db {
int spiritball[MAX_SKILL_LEVEL];
int itemid[MAX_SKILL_ITEM_REQUIRE],amount[MAX_SKILL_ITEM_REQUIRE];
int castnodex[MAX_SKILL_LEVEL], delaynodex[MAX_SKILL_LEVEL];
- int unit_id[2];
+ int unit_id[MAX_SKILL_LEVEL][2];
int unit_layout_type[MAX_SKILL_LEVEL];
int unit_range[MAX_SKILL_LEVEL];
int unit_interval;
@@ -2000,7 +2000,7 @@ struct skill_interface {
int (*get_weapontype) (int skill_id);
int (*get_ammotype) (int skill_id);
int (*get_ammo_qty) (int skill_id, int skill_lv);
- int (*get_unit_id) (int skill_id, int flag);
+ int (*get_unit_id) (int skill_id, int skill_lv, int flag);
int (*get_inf2) (int skill_id);
int (*get_castcancel) (int skill_id, int skill_lv);
int (*get_maxcount) (int skill_id, int skill_lv);