From 51b68a07b877febe6d7e5242a951d66f11b3dd3c Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sat, 23 Dec 2017 16:02:48 +0000 Subject: Replace the use of skill_reproduce_db with AllowReproduce flag --- db/pre-re/skill_db.conf | 350 +++++++++++++++++++++++++++++++++++++++++++++ db/re/skill_db.conf | 354 ++++++++++++++++++++++++++++++++++++++++++++++ db/skill_reproduce_db.txt | 204 -------------------------- src/map/skill.c | 25 +--- src/map/skill.h | 3 +- 5 files changed, 712 insertions(+), 224 deletions(-) delete mode 100644 db/skill_reproduce_db.txt diff --git a/db/pre-re/skill_db.conf b/db/pre-re/skill_db.conf index 06c06dd16..4873012aa 100644 --- a/db/pre-re/skill_db.conf +++ b/db/pre-re/skill_db.conf @@ -74,6 +74,7 @@ FreeCastNormal: true/false (boolean, defaults to false) Works like FreeCastReduced, but not reduce speed. ShowSkillScale: true/false (boolean, defaults to false) + AllowReproduce: true/false (boolean, defaults to false) } AttackType: "Attack Type" (string, defaults to "None") Types: "None", "Weapon", "Magic" or "Misc" @@ -291,6 +292,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" Requirements: { @@ -371,6 +375,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Fire" DamageType: { @@ -468,6 +475,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Ghost" DamageType: { @@ -583,6 +593,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Ghost" NumberOfHits: { @@ -637,6 +650,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" NumberOfHits: { @@ -702,6 +718,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" InterruptCast: true @@ -783,6 +802,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" DamageType: { @@ -829,6 +851,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" InterruptCast: true @@ -882,6 +907,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" NumberOfHits: { @@ -947,6 +975,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: { @@ -1012,6 +1043,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: { @@ -1092,6 +1126,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -1236,6 +1273,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -1581,6 +1621,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" Requirements: { @@ -1666,6 +1709,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: 2 @@ -1694,6 +1740,7 @@ skill_db: ( } SkillInfo: { IgnoreLandProtector: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -1801,6 +1848,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Poison" SkillData2: { @@ -1849,6 +1899,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -2109,6 +2162,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -2236,6 +2292,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -2288,6 +2347,7 @@ skill_db: ( } SkillInfo: { Ensemble: true + AllowReproduce: true } AttackType: "Magic" DamageType: { @@ -2324,6 +2384,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -2598,6 +2661,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -2645,6 +2711,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" NumberOfHits: { @@ -2716,6 +2785,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Magic" Element: "Ele_Fire" @@ -2801,6 +2871,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" SplashRange: 3 @@ -2836,6 +2909,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" SplashRange: { @@ -2913,6 +2989,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: { @@ -2978,6 +3057,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: -10 @@ -3056,6 +3138,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" InterruptCast: true @@ -3139,6 +3224,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" DamageType: { @@ -3197,6 +3285,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" InterruptCast: true @@ -3242,6 +3333,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Earth" NumberOfHits: { @@ -3296,6 +3390,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Earth" NumberOfHits: { @@ -3852,6 +3949,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Earth" @@ -4132,6 +4230,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Water" @@ -4194,6 +4293,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Wind" @@ -4244,6 +4344,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Fire" @@ -4742,6 +4843,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -4911,6 +5015,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -5007,6 +5112,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Misc" DamageType: { @@ -5101,6 +5207,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Magic" Element: "Ele_Holy" @@ -6144,6 +6251,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -6520,6 +6630,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Fire" DamageType: { @@ -6568,6 +6681,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" DamageType: { IgnoreCards: true @@ -6963,6 +7079,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" KnockBackTiles: { Lv1: 5 @@ -7004,6 +7123,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" AfterCastActDelay: 700 CoolDown: 0 @@ -7050,6 +7172,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Holy" NumberOfHits: -2 @@ -7093,6 +7218,7 @@ skill_db: ( } SkillInfo: { TargetSelf: true + AllowReproduce: true } AttackType: "Magic" Element: "Ele_Holy" @@ -7342,6 +7468,9 @@ skill_db: ( MaxLevel: 10 Range: -1 Hit: "BDT_MULTIHIT" + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: -3 @@ -7387,6 +7516,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" DamageType: { IgnoreFlee: true @@ -7420,6 +7552,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: { @@ -7595,6 +7730,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" DamageType: { IgnoreDefense: true @@ -7669,6 +7807,7 @@ skill_db: ( } SkillInfo: { NoCastSelf: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -9795,6 +9934,7 @@ skill_db: ( } SkillInfo: { NPC: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -12317,6 +12457,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -15706,6 +15849,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Misc" DamageType: { IgnoreElement: true @@ -15738,6 +15884,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" KnockBackTiles: 3 @@ -15769,6 +15918,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" AfterCastActDelay: 1000 @@ -15821,6 +15973,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true } @@ -15880,6 +16035,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true } @@ -15991,6 +16149,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" NumberOfHits: { @@ -16087,6 +16248,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" DamageType: { @@ -16126,6 +16290,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" NumberOfHits: { @@ -16258,6 +16425,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" DamageType: { @@ -16319,6 +16489,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: { @@ -16373,6 +16546,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" DamageType: { @@ -16421,6 +16597,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" SplashRange: 3 @@ -17588,6 +17767,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -17646,6 +17826,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Weapon" DamageType: { @@ -17706,6 +17887,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Magic" Element: "Ele_Fire" @@ -17781,6 +17963,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Weapon" KnockBackTiles: 3 @@ -17924,6 +18107,7 @@ skill_db: ( SkillInfo: { Quest: true PartyOnly: true + AllowReproduce: true } AttackType: "Weapon" DamageType: { @@ -18108,6 +18292,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" AfterCastActDelay: 1000 @@ -18204,6 +18391,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Wind" DamageType: { @@ -18244,6 +18434,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -18671,6 +18864,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: -7 @@ -18713,6 +18909,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" AfterCastActDelay: 1500 @@ -19010,6 +19209,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -19142,6 +19344,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -19200,6 +19405,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" NumberOfHits: -10 @@ -19657,6 +19865,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -19766,6 +19977,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } Element: "Ele_Holy" DamageType: { NoDamage: true @@ -19940,6 +20154,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Ghost" DamageType: { @@ -19986,6 +20203,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" DamageType: { @@ -20044,6 +20264,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" DamageType: { @@ -20341,6 +20564,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" InterruptCast: true CastTime: 4000 @@ -20370,6 +20596,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" DamageType: { @@ -20408,6 +20637,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" InterruptCast: true @@ -20451,6 +20683,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" NumberOfHits: -20 InterruptCast: true @@ -20508,6 +20743,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" SplashRange: 3 InterruptCast: true @@ -20566,6 +20804,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Earth" NumberOfHits: { @@ -21059,6 +21300,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -21182,6 +21426,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" InterruptCast: true @@ -21294,6 +21541,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" DamageType: { @@ -21704,6 +21952,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Fire" @@ -21744,6 +21993,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Water" @@ -22916,6 +23166,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -23085,6 +23338,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: -3 @@ -23905,6 +24161,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" CastTime: 1000 @@ -24045,6 +24304,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" SkillData1: { Lv1: 5500 @@ -24172,6 +24434,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } Element: { Lv1: "Ele_Neutral" Lv2: "Ele_Holy" @@ -24210,6 +24475,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true } @@ -24382,6 +24650,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -24537,6 +24808,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Earth" DamageType: { @@ -24727,6 +25001,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: -2 @@ -24756,6 +25033,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -24790,6 +25070,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -24886,6 +25169,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -24980,6 +25266,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -25163,6 +25452,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" KnockBackTiles: { @@ -25204,6 +25496,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -25342,6 +25637,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" NumberOfHits: -7 InterruptCast: true @@ -25408,6 +25706,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" SkillData1: { @@ -25970,6 +26271,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Weapon" NumberOfHits: { @@ -26037,6 +26341,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } Element: "Ele_Weapon" DamageType: { @@ -26143,6 +26448,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true } @@ -27212,6 +27520,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" InterruptCast: true @@ -27264,6 +27575,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" InterruptCast: true @@ -27358,6 +27672,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Earth" NumberOfHits: -3 @@ -27435,6 +27752,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" NumberOfHits: -5 @@ -27512,6 +27832,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Poison" DamageType: { @@ -27569,6 +27892,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" InterruptCast: true CastTime: { @@ -27643,6 +27969,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Poison" InterruptCast: true @@ -27909,6 +28238,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" DamageType: { @@ -28746,6 +29078,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" InterruptCast: true @@ -28804,6 +29137,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Misc" DamageType: { NoDamage: true @@ -28853,6 +29189,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -28914,6 +29253,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" DamageType: { NoDamage: true @@ -28974,6 +29316,7 @@ skill_db: ( } SkillInfo: { IgnoreLandProtector: true + AllowReproduce: true } AttackType: "Weapon" DamageType: { @@ -29259,6 +29602,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } DamageType: { NoDamage: true @@ -29607,6 +29951,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -29675,6 +30022,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf index 815442fd9..4863e4051 100644 --- a/db/re/skill_db.conf +++ b/db/re/skill_db.conf @@ -74,6 +74,7 @@ FreeCastNormal: true/false (boolean, defaults to false) Works like FreeCastReduced, but not reduce speed. ShowSkillScale: true/false (boolean, defaults to false) + AllowReproduce: true/false (boolean, defaults to false) } AttackType: "Attack Type" (string, defaults to "None") Types: "None", "Weapon", "Magic" or "Misc" @@ -293,6 +294,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" Requirements: { @@ -373,6 +377,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Fire" DamageType: { @@ -472,6 +479,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Ghost" DamageType: { @@ -598,6 +608,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Ghost" NumberOfHits: { @@ -652,6 +665,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" NumberOfHits: { @@ -728,6 +744,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" InterruptCast: true @@ -809,6 +828,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" DamageType: { @@ -866,6 +888,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" InterruptCast: true @@ -930,6 +955,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" NumberOfHits: { @@ -1006,6 +1034,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: { @@ -1082,6 +1113,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: { @@ -1184,6 +1218,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -1327,6 +1364,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -1672,6 +1712,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" Requirements: { @@ -1757,6 +1800,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: 2 @@ -1786,6 +1832,7 @@ skill_db: ( } SkillInfo: { IgnoreLandProtector: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -1916,6 +1963,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Poison" SkillData2: { @@ -1964,6 +2014,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -2235,6 +2288,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -2362,6 +2418,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -2414,6 +2473,7 @@ skill_db: ( } SkillInfo: { Ensemble: true + AllowReproduce: true } AttackType: "Magic" DamageType: { @@ -2450,6 +2510,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -2724,6 +2787,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -2771,6 +2837,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" NumberOfHits: { @@ -2840,6 +2909,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" DamageType: { @@ -2932,6 +3004,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" SplashRange: 3 @@ -2966,6 +3041,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" SplashRange: { @@ -3043,6 +3121,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: { @@ -3119,6 +3200,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: -10 @@ -3208,6 +3292,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" InterruptCast: true @@ -3302,6 +3389,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" DamageType: { @@ -3371,6 +3461,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" InterruptCast: true @@ -3427,6 +3520,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Earth" NumberOfHits: { @@ -3503,6 +3599,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Earth" NumberOfHits: { @@ -4070,6 +4169,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Earth" @@ -4351,6 +4451,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Water" @@ -4413,6 +4514,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Wind" @@ -4464,6 +4566,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Fire" @@ -4962,6 +5065,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -5143,6 +5249,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -5237,6 +5344,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Misc" DamageType: { @@ -5332,6 +5440,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Magic" Element: "Ele_Holy" @@ -6374,6 +6483,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -6839,6 +6951,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Fire" DamageType: { @@ -6888,6 +7003,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" DamageType: { IgnoreCards: true @@ -7284,6 +7402,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" KnockBackTiles: { Lv1: 5 @@ -7325,6 +7446,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" AfterCastActDelay: 700 FixedCastTime: 0 @@ -7371,6 +7495,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Holy" NumberOfHits: -2 @@ -7414,6 +7541,7 @@ skill_db: ( } SkillInfo: { TargetSelf: true + AllowReproduce: true } AttackType: "Magic" Element: "Ele_Holy" @@ -7664,6 +7792,9 @@ skill_db: ( MaxLevel: 10 Range: -1 Hit: "BDT_MULTIHIT" + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: -3 @@ -7708,6 +7839,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" DamageType: { IgnoreFlee: true @@ -7741,6 +7875,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: { @@ -7917,6 +8054,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" DamageType: { IgnoreDefense: true @@ -8003,6 +8143,7 @@ skill_db: ( } SkillInfo: { NoCastSelf: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -10121,6 +10262,7 @@ skill_db: ( } SkillInfo: { NPC: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -12657,6 +12799,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -16087,6 +16232,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Misc" DamageType: { IgnoreElement: true @@ -16119,6 +16267,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" KnockBackTiles: 4 @@ -16150,6 +16301,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" AfterCastActDelay: 1000 @@ -16191,6 +16345,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true } @@ -16238,6 +16395,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true } @@ -16360,6 +16520,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" NumberOfHits: { @@ -16478,6 +16641,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" DamageType: { @@ -16517,6 +16683,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" NumberOfHits: { @@ -16661,6 +16830,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" DamageType: { @@ -16733,6 +16905,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" NumberOfHits: { @@ -16798,6 +16973,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" DamageType: { @@ -16868,6 +17046,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" SplashRange: 3 @@ -18135,6 +18316,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Weapon" Element: "Ele_Weapon" @@ -18192,6 +18374,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Weapon" DamageType: { @@ -18252,6 +18435,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Magic" Element: "Ele_Fire" @@ -18326,6 +18510,7 @@ skill_db: ( } SkillInfo: { Quest: true + AllowReproduce: true } AttackType: "Weapon" KnockBackTiles: 3 @@ -18466,6 +18651,7 @@ skill_db: ( SkillInfo: { Quest: true PartyOnly: true + AllowReproduce: true } AttackType: "Weapon" DamageType: { @@ -18647,6 +18833,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" AfterCastActDelay: 1000 @@ -18746,6 +18935,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Wind" DamageType: { @@ -18787,6 +18979,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -19216,6 +19411,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: -7 @@ -19258,6 +19456,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" AfterCastActDelay: 1500 @@ -19555,6 +19756,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -19688,6 +19892,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -19746,6 +19953,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" NumberOfHits: -10 @@ -20222,6 +20432,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Holy" DamageType: { @@ -20334,6 +20547,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } Element: "Ele_Holy" DamageType: { NoDamage: true @@ -20510,6 +20726,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Ghost" DamageType: { @@ -20556,6 +20775,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" DamageType: { @@ -20615,6 +20837,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" DamageType: { @@ -20915,6 +21140,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" InterruptCast: true CastTime: 4000 @@ -20945,6 +21173,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" DamageType: { @@ -20984,6 +21215,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" InterruptCast: true @@ -21027,6 +21261,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" NumberOfHits: -20 InterruptCast: true @@ -21096,6 +21333,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" SplashRange: 3 InterruptCast: true @@ -21155,6 +21395,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Earth" NumberOfHits: { @@ -21650,6 +21893,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -21774,6 +22020,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" InterruptCast: true @@ -21886,6 +22135,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" DamageType: { @@ -22297,6 +22547,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Fire" @@ -22337,6 +22588,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" Element: "Ele_Water" @@ -23554,6 +23806,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -23723,6 +23978,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: -3 @@ -24553,6 +24811,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" CastTime: 1000 @@ -24695,6 +24956,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" SkillData1: { Lv1: 5500 @@ -24824,6 +25088,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } Element: { Lv1: "Ele_Neutral" Lv2: "Ele_Holy" @@ -24863,6 +25130,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true } @@ -25036,6 +25306,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -25193,6 +25466,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Earth" DamageType: { @@ -25386,6 +25662,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" NumberOfHits: -2 @@ -25415,6 +25694,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -25449,6 +25731,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -25546,6 +25831,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -25641,6 +25929,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -25828,6 +26119,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" KnockBackTiles: { @@ -25869,6 +26163,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -26010,6 +26307,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" NumberOfHits: -7 InterruptCast: true @@ -26076,6 +26376,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" SkillData1: { @@ -26654,6 +26957,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Weapon" NumberOfHits: { @@ -26722,6 +27028,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } Element: "Ele_Weapon" DamageType: { @@ -26828,6 +27135,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true } @@ -27912,6 +28222,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Fire" InterruptCast: true @@ -27964,6 +28277,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" InterruptCast: true @@ -28058,6 +28374,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Earth" NumberOfHits: -3 @@ -28147,6 +28466,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Water" NumberOfHits: -5 @@ -28236,6 +28558,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Poison" DamageType: { @@ -28305,6 +28630,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" InterruptCast: true CastTime: { @@ -28391,6 +28719,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Poison" InterruptCast: true @@ -28682,6 +29013,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Magic" Element: "Ele_Wind" DamageType: { @@ -29554,6 +29888,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } AttackType: "Misc" InterruptCast: true @@ -29612,6 +29947,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Misc" DamageType: { NoDamage: true @@ -29661,6 +29999,9 @@ skill_db: ( SkillType: { Enemy: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -29723,6 +30064,9 @@ skill_db: ( SkillType: { Friend: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" DamageType: { NoDamage: true @@ -29782,6 +30126,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } DamageType: { NoDamage: true SplashArea: true @@ -30069,6 +30416,7 @@ skill_db: ( } SkillInfo: { Trap: true + AllowReproduce: true } DamageType: { NoDamage: true @@ -30419,6 +30767,9 @@ skill_db: ( SkillType: { Self: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { @@ -30488,6 +30839,9 @@ skill_db: ( SkillType: { Place: true } + SkillInfo: { + AllowReproduce: true + } AttackType: "Weapon" Element: "Ele_Weapon" DamageType: { diff --git a/db/skill_reproduce_db.txt b/db/skill_reproduce_db.txt deleted file mode 100644 index eca500da2..000000000 --- a/db/skill_reproduce_db.txt +++ /dev/null @@ -1,204 +0,0 @@ -// Reproduce Copy Skills List -// -// ##TODO## screw this file and make it a new skill_info2 flag -// -// Structure of Database: -// SkillID -//================================= - -//Swordsman -5 //Bash -7 //Magnum Break - -//Mage -11 // Napalm Beat -13 // Soul Strike -14 // Cold Bolt -15 // Frost Diver -17 // Fire Ball -18 // Fire Wall -19 // Fire Bolt -20 // Lightning Bolt -21 // Thunderstorm - -//Acolyte -24 // Ruwach -28 // Heal - -//Merchant -42 // Mammonite - -//Archer -46 // Double Strafe -47 // Arrow Shower - -//Thief -52 // Envenom - -// Resurrection -54 // Resurrection - -// Knight -62 // Bowling Bash - -// Priest -68 // Asperio -69 // B.S Sacramenti -70 // Sanctuary -77 // Turn Undead -79 // Magnus Exorcismus - -// Wizard -80 // Fire Pillar -81 // Sightrasher -83 // Meteor Storm -84 // Jupitel Thunder -85 // Lord of Vermillion -86 // Water Ball -88 // Frost Nova -89 // Storm Gust -90 // Earth Spike -91 // Heaven's Drive - -// Hunter -116 // Land Mine -121 // Freezing Trap -122 // Blast Mine -123 // Claymore Trap - -// Assassin -141 // Venom Splasher - -// 1st Job Quest Skills -148 // Arrow Repel -152 // Stone Fling -156 // Holy Light - -// Rogue -212 // Backstab - -// Alchemist -229 // Bomb -230 // Acid Terror - -// Crusader -250 // Smite -251 // Shield Boomerang -253 // Holy Cross -254 // Grand Cross - -// Monk -263 // Raging Trifecta Blow -266 // Occult Impaction -267 // Throw Spirit Sphere -271 // Guillotine Fist -272 // Raging Quadruple Blow - -// Item Skill -337 // Tomahawk Throwing - -// TaeKwon Kid -421 // Flying Kick - -// Ninja -526 // Throw Coins -527 // Flip Tatami -528 // Haze Slasher -529 // Shadow Slash -531 // Blaze Shield -534 // Flaming Petals -536 // Exploding Dragon -537 // Freezing Spear -539 // Snow Flake Draft -540 // Wind Blade -541 // Lightning Jolt -542 // First Wind - -// 2nd Job Quest Skills -1001 // Charge Attack -1004 // Venom Knife -1006 // Sight Blaster -1009 // Phantasmic Arrow -1015 // Excruciating Palm - -// Rune Knight -2002 // Sonic Wave -2005 // Ignition Break -2006 // Wind Cutter - -// Guillotine Cross -2022 // Cross Impact -2023 // Dark Illusion -2034 // Phantom Menace - -// Arch Bishop -2038 // Judex -2040 // Adoramus -2051 // Highness Heal -2054 // Duple Light - -// Warlock -2202 // Soul Expansion -2203 // Frosty Misty -2204 // Jack Frost -2210 // Drain Life -2211 // Crimson Rock -2212 // Hell Inferno -2213 // Comet -2214 // Chain Lightning -2216 // Earth Strain - -// Ranger -2233 // Arrow Storm -2236 // Aimed Bolt -2239 // Cluster Bomb -2253 // Icebound Trap -2254 // Firing Trap - -// Shadow Chaser -2284 // Fatal Menace -2288 // Triangle Shot -2304 // Feint Bomb - -// Royal Guard -2310 // Shield Press -2315 // Shield Spell -2316 // Exceed Break -2320 // Moon Slasher -2323 // Earth Drive - -// Sura -2326 // Dragon Combo -2327 // Sky Net Blow -2328 // Earth Shaker -2330 // Tiger Cannon -2332 // Rampage Blaster -2336 // Knuckle Arrow -2337 // Windmill -2343 // Gate of Hell -2344 // Gentle Touch - Quiet -2517 // Howling of Lion -2518 // Riding Lightning - -// Minstrel/Wanderer -2413 // Metallic Sound -2414 // Reverberation -2418 // Severe Rainstorm - -// Sorcerer -2443 // Fire Walk -2444 // Electric Walk -2446 // Earth Grave -2447 // Diamond Dust -2448 // Poison Buster -2449 // Psychic Wave -2450 // Cloud Kill -2454 // Varetyr Spear - -// Genetic -2479 // Thorn Trap -2480 // Blood Sucker -2481 // Spore Explosion -2482 // Wall of Thorns -2483 // Crazy Weed -2490 // Hell's Plant diff --git a/src/map/skill.c b/src/map/skill.c index 88a29b9a8..5f7d1a9f0 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -987,7 +987,7 @@ int can_copy (struct map_session_data *sd, uint16 skill_id, struct block_list* b (skill_id >= GC_DARKCROW && skill_id <= SU_FRESHSHRIMP))) return 0; // Reproduce will only copy skills according on the list. [Jobbie] - else if( sd->sc.data[SC__REPRODUCE] && !skill->dbs->reproduce_db[skill->get_index(skill_id)] ) + else if (sd->sc.data[SC__REPRODUCE] && (skill->get_inf2(skill_id) & INF2_ALLOW_REPRODUCE) == 0) return 0; return 1; @@ -19849,21 +19849,6 @@ bool skill_parse_row_magicmushroomdb(char* split[], int column, int current) return true; } -bool skill_parse_row_reproducedb(char* split[], int column, int current) -{ - uint16 skill_id; - uint16 idx; - nullpo_retr(false, split); - skill_id = atoi(split[0]); - idx = skill->get_index(skill_id); - if( !idx ) - return false; - - skill->dbs->reproduce_db[idx] = true; - - return true; -} - bool skill_parse_row_abradb(char* split[], int columns, int current) { // skill_id,DummyName,RequiredHocusPocusLevel,Rate @@ -20168,6 +20153,12 @@ void skill_validate_skillinfo(struct config_setting_t *conf, struct s_skill_db * } else { sk->inf2 &= ~INF2_SHOW_SKILL_SCALE; } + } else if (strcmpi(type, "AllowReproduce") == 0) { + if (on) { + sk->inf2 |= INF2_ALLOW_REPRODUCE; + } else { + sk->inf2 &= ~INF2_ALLOW_REPRODUCE; + } } else if (strcmpi(type, "None") != 0) { skilldb_invalid_error(type, config_setting_name(t), sk->nameid); } @@ -21280,7 +21271,6 @@ void skill_readdb(bool minimal) sv->readdb(map->db_path, "spellbook_db.txt", ',', 3, 3, MAX_SKILL_SPELLBOOK_DB, skill->parse_row_spellbookdb); //Guillotine Cross sv->readdb(map->db_path, "magicmushroom_db.txt", ',', 1, 1, MAX_SKILL_MAGICMUSHROOM_DB, skill->parse_row_magicmushroomdb); - sv->readdb(map->db_path, "skill_reproduce_db.txt", ',', 1, 1, MAX_SKILL_DB, skill->parse_row_reproducedb); sv->readdb(map->db_path, "skill_improvise_db.txt", ',', 2, 2, MAX_SKILL_IMPROVISE_DB, skill->parse_row_improvisedb); sv->readdb(map->db_path, "skill_changematerial_db.txt", ',', 4, 4+2*5, MAX_SKILL_PRODUCE_DB, skill->parse_row_changematerialdb); } @@ -21594,7 +21584,6 @@ void skill_defaults(void) skill->parse_row_abradb = skill_parse_row_abradb; skill->parse_row_spellbookdb = skill_parse_row_spellbookdb; skill->parse_row_magicmushroomdb = skill_parse_row_magicmushroomdb; - skill->parse_row_reproducedb = skill_parse_row_reproducedb; skill->parse_row_improvisedb = skill_parse_row_improvisedb; skill->parse_row_changematerialdb = skill_parse_row_changematerialdb; skill->usave_add = skill_usave_add; diff --git a/src/map/skill.h b/src/map/skill.h index 1e00e488f..c494c0e83 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -123,6 +123,7 @@ enum e_skill_inf2 { INF2_FREE_CAST_NORMAL = 0x08000, INF2_FREE_CAST_REDUCED = 0x10000, INF2_SHOW_SKILL_SCALE = 0x20000, + INF2_ALLOW_REPRODUCE = 0x40000, }; @@ -1897,7 +1898,6 @@ BEGIN_ZEROED_BLOCK; // This block will be zeroed in skill_defaults() as well as struct s_skill_improvise_db improvise_db[MAX_SKILL_IMPROVISE_DB]; struct s_skill_changematerial_db changematerial_db[MAX_SKILL_PRODUCE_DB]; struct s_skill_spellbook_db spellbook_db[MAX_SKILL_SPELLBOOK_DB]; - bool reproduce_db[MAX_SKILL_DB]; END_ZEROED_BLOCK; struct s_skill_unit_layout unit_layout[MAX_SKILL_UNIT_LAYOUT]; }; @@ -2121,7 +2121,6 @@ struct skill_interface { bool (*parse_row_abradb) (char* split[], int columns, int current); bool (*parse_row_spellbookdb) (char* split[], int columns, int current); bool (*parse_row_magicmushroomdb) (char* split[], int column, int current); - bool (*parse_row_reproducedb) (char* split[], int column, int current); bool (*parse_row_improvisedb) (char* split[], int columns, int current); bool (*parse_row_changematerialdb) (char* split[], int columns, int current); /* save new unit skill */ -- cgit v1.2.3-70-g09d2