From 394db87eb75b08ce015ac795d28ce1fb7579ed8b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 11 Mar 2019 01:03:21 -0300 Subject: Fix tabulation and add a /***/ separator between mobs on mob_skill_db --- db/re/mob_skill_db.conf | 194 ++++++++++++++++++++++++++++-------------------- 1 file changed, 113 insertions(+), 81 deletions(-) (limited to 'db/re/mob_skill_db.conf') diff --git a/db/re/mob_skill_db.conf b/db/re/mob_skill_db.conf index 69f6bcc17..e49795456 100644 --- a/db/re/mob_skill_db.conf +++ b/db/re/mob_skill_db.conf @@ -1,10 +1,10 @@ //================= Hercules Database ===================================== -//= _ _ _ -//= | | | | | | -//= | |_| | ___ _ __ ___ _ _| | ___ ___ -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| -//= | | | | __/ | | (__| |_| | | __/\__ \ -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ //================= License =============================================== //= This file is part of Hercules. //= http://herc.ws - http://github.com/HerculesWS/Hercules @@ -35,22 +35,22 @@ mob_skill_db:( : { : { ClearSkills: (boolean, defaults to false) allows cleaning all previous defined skills for the mob. - SkillLevel: (int, defaults to 1) - SkillState: (int, defaults to 0) + SkillLevel: (int, defaults to 1) + SkillState: (int, defaults to 0) SkillTarget: (int, defaults to 0) - Rate: (int, defaults to 1) Rate refers to the chance of the skill being casted when the condition is fulfilled.(10000 = 100%) - CastTime: (int, defaults to 0) CastTime is the time in milliseconds that has to be pass to casting skill - Delay: (int, defaults to 0) Delay is the time in milliseconds that has to be pass before recasting the same skill. - Cancelable: (boolean, defaults to false) + Rate: (int, defaults to 1) Rate refers to the chance of the skill being casted when the condition is fulfilled.(10000 = 100%) + CastTime: (int, defaults to 0) CastTime is the time in milliseconds that has to be pass to casting skill + Delay: (int, defaults to 0) Delay is the time in milliseconds that has to be pass before recasting the same skill. + Cancelable: (boolean, defaults to false) CastCondition: (int, defaults to 0) ConditionData: (int, defaults to 0) - val0: (int, defaults to 0) Value 0 - val1: (int, defaults to 0) - val2: (int, defaults to 0) - val3: (int, defaults to 0) - val4: (int, defaults to 0) - Emotion: (int, defaults to 0) - ChatMsgID: (int, defaults to 0) + val0: (int, defaults to 0) Value 0 + val1: (int, defaults to 0) + val2: (int, defaults to 0) + val3: (int, defaults to 0) + val4: (int, defaults to 0) + Emotion: (int, defaults to 0) + ChatMsgID: (int, defaults to 0) } } @@ -60,15 +60,15 @@ mob_skill_db:( // 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", + "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" } @@ -77,26 +77,26 @@ SKILL_STATES = { // target (current target) / self / friend / master / randomtarget (any enemy within skill's range) // // The following are for ground-skills, a random target tile is selected from the specified area: -// around1 (3x3 area around self) / around2 (5x5 area around self) / -// around3 (7x7 area around self) / around4 (9x9 area around self) / -// around5 (3x3 area around target) / around6 (5x5 area around target) / -// around7 (7x7 area around target) / around8 (9x9 area around target) / -// around = around4 +// around1 (3x3 area around self) / around2 (5x5 area around self) / +// around3 (7x7 area around self) / around4 (9x9 area around self) / +// 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", + "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" + "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: @@ -121,34 +121,34 @@ SKILL_TARGET = { // casttargeted When a target is in cast range (no condition value). // rudeattacked When mob is rude attacked (no condition value). SKILL_COND1 = { - "always": "MSC_ALWAYS", - "myhpltmaxrate": "MSC_MYHPLTMAXRATE", - "myhpinrate": "MSC_MYHPINRATE", + "always": "MSC_ALWAYS", + "myhpltmaxrate": "MSC_MYHPLTMAXRATE", + "myhpinrate": "MSC_MYHPINRATE", "friendhpltmaxrate": "MSC_FRIENDHPLTMAXRATE", - "friendhpinrate": "MSC_FRIENDHPINRATE", - "mystatuson": "MSC_MYSTATUSON", - "mystatusoff": "MSC_MYSTATUSOFF", - "friendstatuson": "MSC_FRIENDSTATUSON", + "friendhpinrate": "MSC_FRIENDHPINRATE", + "mystatuson": "MSC_MYSTATUSON", + "mystatusoff": "MSC_MYSTATUSOFF", + "friendstatuson": "MSC_FRIENDSTATUSON", "friendstatusoff": "MSC_FRIENDSTATUSOFF", - "attackpcgt": "MSC_ATTACKPCGT", - "attackpcge": "MSC_ATTACKPCGE", - "slavelt": "MSC_SLAVELT", - "slavele": "MSC_SLAVELE", - "closedattacked": "MSC_CLOSEDATTACKED", + "attackpcgt": "MSC_ATTACKPCGT", + "attackpcge": "MSC_ATTACKPCGE", + "slavelt": "MSC_SLAVELT", + "slavele": "MSC_SLAVELE", + "closedattacked": "MSC_CLOSEDATTACKED", "longrangeattacked": "MSC_LONGRANGEATTACKED", - "skillused": "MSC_SKILLUSED", - "afterskill": "MSC_AFTERSKILL", - "casttargeted": "MSC_CASTTARGETED", - "rudeattacked": "MSC_RUDEATTACKED", + "skillused": "MSC_SKILLUSED", + "afterskill": "MSC_AFTERSKILL", + "casttargeted": "MSC_CASTTARGETED", + "rudeattacked": "MSC_RUDEATTACKED", "masterhpltmaxrate": "MSC_MASTERHPLTMAXRATE", - "masterattacked": "MSC_MASTERATTACKED", - "alchemist": "MSC_ALCHEMIST", - "onspawn": "MSC_SPAWN" + "masterattacked": "MSC_MASTERATTACKED", + "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) +// 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. @@ -156,18 +156,18 @@ SKILL_COND1 = { // -4: added for all mobs. SKILL_COND2 = { - "anybad": "MSC_ANY", - "stone": "SC_STONE", - "freeze": "SC_FREEZE", - "stun": "SC_STUN", - "sleep": "SC_SLEEP", - "poison": "SC_POISON", - "curse": "SC_CURSE", + "anybad": "MSC_ANY", + "stone": "SC_STONE", + "freeze": "SC_FREEZE", + "stun": "SC_STUN", + "sleep": "SC_SLEEP", + "poison": "SC_POISON", + "curse": "SC_CURSE", "silence": "SC_SILENCE", "confusion": "SC_CONFUSION", - "blind": "SC_BLIND", - "hiding": "SC_HIDING", - "sight": "SC_SIGHT" + "blind": "SC_BLIND", + "hiding": "SC_HIDING", + "sight": "SC_SIGHT" } **************************************************************************/ @@ -184,6 +184,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ Tipiu: { NPC_SUMMONSLAVE: { SkillState: "MSS_IDLE" @@ -217,6 +218,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ Tipiou: { NPC_SUMMONSLAVE: { SkillState: "MSS_IDLE" @@ -250,6 +252,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ BlueSlime: { NPC_SUMMONSLAVE: { SkillState: "MSS_ANY" @@ -264,6 +267,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ SlimeBlast: { NPC_SELFDESTRUCTION: { SkillState: "MSS_BERSERK" @@ -277,6 +281,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ WhiteSlime: { NPC_SELFDESTRUCTION: { SkillState: "MSS_BERSERK" @@ -292,6 +297,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ SantaSlime: { NPC_EMOTION: { SkillState: "MSS_LOOT" @@ -325,6 +331,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ Snake: { NPC_POISON: { SkillState: "MSS_BERSERK" @@ -337,6 +344,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ MountainSnake: { NPC_POISON: { SkillState: "MSS_BERSERK" @@ -349,6 +357,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ DesertBandit: { NPC_POISON: { SkillState: "MSS_BERSERK" @@ -362,6 +371,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ Sarracenus: { NPC_POISON: { SkillState: "MSS_BERSERK" @@ -375,6 +385,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ YetiKing: { NPC_SUMMONSLAVE: { SkillState: "MSS_BERSERK" @@ -430,6 +441,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ NightScorpion: { SM_BASH: { SkillState: "MSS_BERSERK" @@ -462,7 +474,7 @@ SKILL_COND2 = { ConditionData: 2 } - // Elemental fix + // Elemental fix NPC_CHANGEDARKNESS: { SkillState: "MSS_BERSERK" SkillLevel: 1 @@ -476,6 +488,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ GoldenScorpion: { SM_BASH: { SkillState: "MSS_BERSERK" @@ -489,6 +502,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ FallenKing1: { NPC_SUMMONSLAVE: { SkillState: "MSS_ANY" @@ -556,6 +570,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ PoisonSpikyMushroom: { NPC_POISON: { SkillState: "MSS_BERSERK" @@ -568,6 +583,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ RobinBandit: { NPC_POISON: { SkillState: "MSS_BERSERK" @@ -581,6 +597,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ BanditLord: { NPC_SUMMONSLAVE: { SkillState: "MSS_ANYTARGET" @@ -641,6 +658,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ EvilChest: { NPC_SUMMONMONSTER: { SkillState: "MSS_DEAD" @@ -651,6 +669,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ ViciousChest: { NPC_SUMMONMONSTER: { SkillState: "MSS_DEAD" @@ -662,6 +681,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ AlphaMouboo: { NPC_SUMMONSLAVE: { SkillState: "MSS_ANY" @@ -673,7 +693,9 @@ SKILL_COND2 = { CastCondition: "MSC_SPAWN" val0: 1023 } - } + } + + /**********************************************************************/ BlackSlime: { AL_DECAGI: { SkillState: "MSS_BERSERK" @@ -686,6 +708,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ FafiDragon: { SN_SHARPSHOOTING: { SkillState: "MSS_BERSERK" @@ -772,7 +795,9 @@ SKILL_COND2 = { CastCondition: "MSC_ATTACKPCGE" ConditionData: 2 } - } + } + + /**********************************************************************/ GreenDragon: { SN_SHARPSHOOTING: { SkillState: "MSS_BERSERK" @@ -803,7 +828,10 @@ SKILL_COND2 = { SkillTarget: "MST_TARGET" CastCondition: "MSC_ALWAYS" } - } + } + + + /**********************************************************************/ GiantCaveMaggot: { NPC_SUMMONSLAVE: { SkillState: "MSS_ANY" @@ -865,6 +893,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ MonsterKing: { NPC_SUMMONSLAVE: { SkillState: "MSS_ANYTARGET" @@ -956,6 +985,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ AndreiSakar: { AL_DECAGI: { SkillState: "MSS_BERSERK" @@ -1008,6 +1038,7 @@ SKILL_COND2 = { } } + /**********************************************************************/ DustGatling: { NPC_BLINDATTACK: { SkillState: "MSS_BERSERK" @@ -1029,6 +1060,7 @@ SKILL_COND2 = { }*/ } + /**********************************************************************/ DustBoss: { NPC_SUMMONSLAVE: { SkillState: "MSS_ANY" -- cgit v1.2.3-60-g2f50