summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-20 22:48:56 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-20 22:48:56 -0300
commit819a5cf9f7588d91522a30b9100dc0d2a74e4eb0 (patch)
treec34c505b23651ace0cd23f42ae86f1965f23e73a
parent391940373cc8046d8c39124b3d04bfd88df2c4b7 (diff)
downloadserverdata-819a5cf9f7588d91522a30b9100dc0d2a74e4eb0.tar.gz
serverdata-819a5cf9f7588d91522a30b9100dc0d2a74e4eb0.tar.bz2
serverdata-819a5cf9f7588d91522a30b9100dc0d2a74e4eb0.tar.xz
serverdata-819a5cf9f7588d91522a30b9100dc0d2a74e4eb0.zip
Improve a little skill doc
-rw-r--r--db/re/mob_skill_db.conf80
1 files changed, 41 insertions, 39 deletions
diff --git a/db/re/mob_skill_db.conf b/db/re/mob_skill_db.conf
index 05c50b989..42ab22070 100644
--- a/db/re/mob_skill_db.conf
+++ b/db/re/mob_skill_db.conf
@@ -59,7 +59,20 @@ mob_skill_db:(
// loot /attack / angry (like attack, except player has not attacked mob yet) /
// chase (following target, after being attacked) / follow (following target,
// without being attacked) / anytarget (attack+angry+chase+follow)
-//
+SKILL_STATES = {
+ "any": "MSS_ANY",
+ "idle": "MSS_IDLE",
+ "walk": "MSS_WALK",
+ "loot": "MSS_LOOT",
+ "dead": "MSS_DEAD",
+ "attack": "MSS_BERSERK",
+ "angry": "MSS_ANGRY",
+ "chase": "MSS_RUSH",
+ "follow": "MSS_FOLLOW",
+ "anytarget": "MSS_ANYTARGET"
+}
+
+
// TARGET:
// target (current target) / self / friend / master / randomtarget (any enemy within skill's range)
//
@@ -69,7 +82,23 @@ mob_skill_db:(
// around5 (3x3 area around target) / around6 (5x5 area around target) /
// around7 (7x7 area around target) / around8 (9x9 area around target) /
// around = around4
-//
+SKILL_TARGET = {
+ "target": "MST_TARGET",
+ "randomtarget": "MST_RANDOM",
+ "self": "MST_SELF",
+ "friend": "MST_FRIEND",
+ "master": "MST_MASTER",
+ "around5": "MST_AROUND5",
+ "around6": "MST_AROUND6",
+ "around7": "MST_AROUND7",
+ "around8": "MST_AROUND8",
+ "around1": "MST_AROUND1",
+ "around2": "MST_AROUND2",
+ "around3": "MST_AROUND3",
+ "around4": "MST_AROUND4",
+ "around": "MST_AROUND"
+}
+
// CONDITION:
// always Unconditional (no condition value).
// onspawn When mob spawns/respawns (no condition value).
@@ -91,27 +120,6 @@ mob_skill_db:(
// afterskill After mob casts the specified skill.
// casttargeted When a target is in cast range (no condition value).
// rudeattacked When mob is rude attacked (no condition value).
-//
-// Status abnormalities specified through the statuson/statusoff system:
-// anybad (any type of state change) / stone / freeze / stun / sleep /
-// poison / curse / silence / confusion / blind / hiding / sight (unhidden)
-//
-// Note: if a negative MobID is provided, the skill will be treated as 'global':
-// -1: added for all boss types.
-// -2: added for all normal types.
-// -4: added for all mobs.
-SKILL_STATES = {
- "any": "MSS_ANY",
- "idle": "MSS_IDLE",
- "walk": "MSS_WALK",
- "loot": "MSS_LOOT",
- "dead": "MSS_DEAD",
- "attack": "MSS_BERSERK",
- "angry": "MSS_ANGRY",
- "chase": "MSS_RUSH",
- "follow": "MSS_FOLLOW",
- "anytarget": "MSS_ANYTARGET"
-}
SKILL_COND1 = {
"always": "MSC_ALWAYS",
"myhpltmaxrate": "MSC_MYHPLTMAXRATE",
@@ -137,6 +145,16 @@ SKILL_COND1 = {
"alchemist": "MSC_ALCHEMIST",
"onspawn": "MSC_SPAWN"
}
+
+// Status abnormalities specified through the statuson/statusoff system:
+// anybad (any type of state change) / stone / freeze / stun / sleep /
+// poison / curse / silence / confusion / blind / hiding / sight (unhidden)
+//
+// Note: if a negative MobID is provided, the skill will be treated as 'global':
+// -1: added for all boss types.
+// -2: added for all normal types.
+// -4: added for all mobs.
+
SKILL_COND2 = {
"anybad": "MSC_ANY",
"stone": "SC_STONE",
@@ -151,22 +169,6 @@ SKILL_COND2 = {
"hiding": "SC_HIDING",
"sight": "SC_SIGHT"
}
-SKILL_TARGET = {
- "target": "MST_TARGET",
- "randomtarget": "MST_RANDOM",
- "self": "MST_SELF",
- "friend": "MST_FRIEND",
- "master": "MST_MASTER",
- "around5": "MST_AROUND5",
- "around6": "MST_AROUND6",
- "around7": "MST_AROUND7",
- "around8": "MST_AROUND8",
- "around1": "MST_AROUND1",
- "around2": "MST_AROUND2",
- "around3": "MST_AROUND3",
- "around4": "MST_AROUND4",
- "around": "MST_AROUND"
-}
**************************************************************************/
Blub: {