summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorFate <fate.tmw@googlemail.com>2008-11-10 16:43:13 +0000
committerFate <fate.tmw@googlemail.com>2008-11-10 16:43:13 +0000
commit7e9ef4d4154caf5c982e0753e9685c04ee52d913 (patch)
treec94003e0f22b451a0ef4dcd6df38e8c48843e81a /src/map/skill.h
parentf52600e3795cd8a40c716ff92db6d8f55cc8e7cf (diff)
downloadtmwa-7e9ef4d4154caf5c982e0753e9685c04ee52d913.tar.gz
tmwa-7e9ef4d4154caf5c982e0753e9685c04ee52d913.tar.bz2
tmwa-7e9ef4d4154caf5c982e0753e9685c04ee52d913.tar.xz
tmwa-7e9ef4d4154caf5c982e0753e9685c04ee52d913.zip
* Adjusted the GM @charbaselvl command to set base experience to zero when lowering a char level
* Adjusted the GM @charreset command as follows: - All stats are reset to 5 instead of 1 - Available statpoints are recomputed as per Malivox reset - Quest skills are reset to zero but their skill points don't contribute to empty skillpoints - Two character variables bound to WIP quest skills are zeroed * Added @charwipe command (default level 60) to reset a character as if that character had newly started
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index b3e3f59..03db31a 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -10,6 +10,9 @@
#define MAX_SKILL_ARROW_DB 150
#define MAX_SKILL_ABRA_DB 350
+#define QUEST_SKILL(i) ((i) >= TMW_MAGIC && (i) < TMW_MAGIC_END)
+// [Fate] A `quest skill' is a skill handled via quests, i.e., one that can't be modified via skill points.
+
// スキルデータベース
struct skill_db {
int range[MAX_SKILL_LEVEL],hit,inf,pl,nk,max;