From 83db3bbee4e19e7426a32ee89ad6c2d8e48260f2 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 18 Jun 2013 20:03:57 -0700 Subject: Also poison memcpy, memmove, and memset --- src/map/skill.hpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/map/skill.hpp') diff --git a/src/map/skill.hpp b/src/map/skill.hpp index 42caf0b..2823943 100644 --- a/src/map/skill.hpp +++ b/src/map/skill.hpp @@ -10,13 +10,13 @@ constexpr int MAX_SKILL_ARROW_DB = 150; constexpr int MAX_SKILL_ABRA_DB = 350; // スキルデータベース -struct skill_db +struct skill_db_ { - int range[MAX_SKILL_LEVEL], hit, inf, pl, nk, max; + int range_k, hit, inf, pl, nk, max; SP stat; SkillFlags poolflags; int max_raise; // `max' is the global max, `max_raise' is the maximum attainable via skill-ups - int num[MAX_SKILL_LEVEL]; + int num_k; int cast[MAX_SKILL_LEVEL], delay[MAX_SKILL_LEVEL]; int upkeep_time[MAX_SKILL_LEVEL], upkeep_time2[MAX_SKILL_LEVEL]; int castcancel, cast_def_rate; @@ -28,7 +28,8 @@ struct skill_db int itemid[10], amount[10]; int castnodex[MAX_SKILL_LEVEL]; }; -extern earray skill_db; +extern +earray skill_db; struct skill_name_db { @@ -74,10 +75,6 @@ void skill_stop_dancing(dumb_ptr src, int flag); // 詠唱キャンセル int skill_castcancel(dumb_ptr bl, int type); -int skill_gangsterparadise(dumb_ptr sd, int type); -void skill_devotion(dumb_ptr md, int target); -int skill_devotion3(dumb_ptr bl, int target); - // ステータス異常 int skill_status_effect(dumb_ptr bl, StatusChange type, int val1, -- cgit v1.2.3-70-g09d2