viewing paste Skill DB Libconfig | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Skill Database [Smokexyz]
 *
 * @Format -
 *
   {
     Id: @Integer (required)
     Name: @String (required)
          - Script constant used for skill id.
     Description: @String (optional but recommended)
     MaxLevel: @Integer (required)
          - Must not be higher than MAX_SKILL_LEVEL
     Range: @Integer can be grouped by Levels (optional - default 0)
          - (combo skills do not check for range when used,
            if range is < 5, the skill is considered melee-range)
     Hit: @Integer (optional - default 0)
          - (8 = repeated hitting, 6 = single-hit)
     SkillType: @Integer (optional - default 0)
          - (0 = passive, 1 = enemy, 2 = place, 4 = self, 16 = friend, 32 = trap)
            Bitmask, so 3 = place + enemy. And so on...
     SkillInfo: @Bitmask (optional - default 0)
          - 0x0001 = quest skill
            0x0002 = npc skill
            0x0004 = wedding skill
            0x0008 = spirit skill
            0x0010 = guild skill
            0x0020 = song/dance
            0x0040 = ensemble skill
            0x0080 = trap
            0x0100 = skill that damages/targets yourself
            0x0200 = cannot be casted on self (if inf = 4, auto-select target skill)
            0x0400 = usable only on party-members (and enemies if skill is offensive)
            0x0800 = usable only on guild-mates (and enemies if skill is offensive)
            0x1000 = disable usage on enemies (for non-offensive skills).
            0x2000 = skill ignores land protector (e.g. arrow shower)
            0x4000 = chorus skill
     AttackType: @String (optional - default "none")
          - ("none", "weapon", "magic" or "misc")
     Element: @String (can be grouped by Levels) (optional - default "Ele_Neutral")
          - "Ele_Neutral", "Ele_Water", "Ele_Earth", "Ele_Fire", "Ele_Wind"
            "Ele_Poison", "Ele_Holy", "Ele_Dark", "Ele_Ghost", "Ele_Undead"
            "Ele_Weapon" - Uses weapon's element.
            "Ele_Endowed" - Uses Endowed element.
            "Ele_Random" - Uses random element.
     DamageType: @Bitmask (optional - default 0)
          - 0x01 - No damage skill
            0x02 - Has splash area (requires source modification)
            0x04 - Damage should be split among targets (requires 0x02 in order to work)
            0x08 - Skill ignores caster's % damage cards (misc type always ignores)
            0x10 - Skill ignores elemental adjustments
            0x20 - Skill ignores target's defense (misc type always ignores)
            0x40 - Skill ignores target's flee (magic type always ignores)
            0x80 - Skill ignores target's def cards
     SplashRange: @Integer can be grouped by Levels (optional - default 0)
          - (-1 for screen-wide)
     NumberOfHits: @Integer can be grouped by Levels (optional - default 0)
          - (when positive, damage is increased by hits,
            negative values just show number of hits without increasing total damage)
     InterruptCast: @Bool (optional - default "false")
          - Cast interrupted when hit? true or false.
     CastDefRate: @Integer (optional - default 0)
          - defense-reduction rate during cast.
     MaxCount: @Integer can be grouped by Levels (optional - default 0)
          - max amount of skill instances to place on the ground when
            player_land_skill_limit/monster_land_skill_limit is enabled. For skills
            that attack using a path, this is the path length to be used.
     BlowCount: @Integer can be grouped by Levels (optional - default 0)
          - amount of tiles skill knockbacks
     CastTime: {
       Lv1: (int)
       Lv2: (int)
       ...
       LvN: (int)
     } or (int) for all levels (optional - default 0)
              - time to cast this skill, in milliseconds
     ACActDelay: (int or grouped by levels) (optional - default 0)
              - "normal" delay, character cannot use skills, in milliseconds
     ACWalkDelay: (int or grouped by levels) (optional - default 0)
              - amount of time before character can move again, in milliseconds
     SkillData1: (int or grouped by levels) (optional - default 0)
     SkillData2: (int or grouped by levels) (optional - default 0)
              - usually the durations used by the skill, at special cases it is used to hold special data
     CoolDown: (int or grouped by levels) (optional - default 0)
              - amount of time until character can re-use this skill, in milliseconds
     FixedCastingTime: (int or grouped by levels) (optional
              - default 0) the skills fixed casting time in milliseconds
                (when 0, uses 20% of cast time and less than 0 means no fixed cast time)
     CastOption: (int or grouped by levels) (remove if 0)
               0 - everything affects the skill's cast time
               1 - skill's cast time is not affected by dex
               2 - skill's cast time is not affected by statuses (Suffragium, etc)
               4 - skill's cast time is not affected by item bonuses (equip, cards)
     DelayOption: (int or grouped by levels) (remove if 0)
               0 - everything affects the skill's delay
               1 - skill's delay is not affected by dex
               2 - skill's delay is not affected by Magic Strings / Bragi
               4 - skill's delay is not affected by item bonuses (equip, cards)
     HPCost: {
          Lv1: @Integer (optional - default 0)
          Lv2: @Integer
          ...
          LvMax: AmountMax
     } or just a single entry for all levels (optional - default 0)
     SPCost: @Integer grouped by levels or a single integer for all levels (optional - default 0)
     HPRateCost: @Integer grouped by levels or a single integer for all levels  (optional - default 0)
            - If positive, it is a percent of your current hp, otherwise it is a percent of your max hp.
     SPRateCost: @Integer grouped by levels or a single integer for all levels (optional - default 0)
            - If positive, it is a percent of your current sp, otherwise it is a percent of your max sp.
     ZenyCost: @Integer grouped by levels or a single integer for all levels (optional - default 0)
     RequiredWeaponTypes: [ 1, 2, 3, 4... ] array or a single Integer entry (optional)
                      - Refers to Weapon Types in doc/item_db.txt
                      - 0 is bare fisted, Not listed means any type.
                      - use String Value "All" for all weapon Types.
     RequiredAmmoTypes: [ 1, 2, 3, 4... ] array or (int) (optional)
                      - Refers to Ammo Types in doc/item_db.txt
                      - 0 or not listed means Ammo is not required.
                      - use String Value "All" for all Ammo Types.
     RequiredAmmoAmount: @Integer grouped by levels or a single integer for all levels (optional - default 0)
     RequiredState: @String (optional - default 0)
                      - none = Nothing special
                        move_enable = Requires to be able to move
                        recover_weight_rate = Requires to be less than 50% weight
                        water = Requires to be standing on a water cell
                        cart = Requires a Pushcart
                        riding = Requires to ride either a peco or a dragon
                        falcon = Requires a Falcon
                        sight = Requires Sight skill activated
                        hiding = Requires Hiding skill activated
                        cloaking = Requires Cloaking skill activated
                        explosionspirits = Requires Fury skill activated
                        cartboost = Requires a Pushcart and Cart Boost skill activated
                        shield = Requires a 0,shield equipped
                        warg = Requires a Warg
                        dragon = Requires to ride a Dragon
                        ridingwarg = Requires to ride a Warg
                        mado = Requires to have an active mado
                        poisonweapon = Requires to be under Poisoning Weapon.
                        rollingcutter = Requires at least one Rotation Counter from Rolling Cutter.
                        elementalspirit = Requires to have an Elemental Spirit summoned.
                        fighter = Requires Eleanor fighthing mode
                        grappler = Requires Eleanor grappling mode
                        peco = Requires riding a peco
     SpiritSphereCost: @Integer grouped by levels or a single integer for all levels (optional - default 0)
     RequiredItems: {
          ItemID or Constant (Ex. "ID717" or "Blue_Gemstone"): @Integer for amount (if 0 (default), will not be consumed)
                          - Amount can also be grouped by levels.
     } (optional)
    UnitID: @Integer
    UnitID2: @Integer
    Layout: @Integer can be grouped into levels or single Integer for all levels. (optional, default 0)
    Range: @Integer can be grouped into levels or single Integer for all levels. (optional, default 0)
    Interval: @Integer
    Target: @String (optional, default "noone")
          - "all" affects everyone
            "notenemy" affects anyone who isn't an enemy
            "friend" affects party, guildmates and neutral players
            "party" affects party only
            "guild" affects guild only
            "ally" affects party and guildmates only
            "sameguild" affects guild but not allies
            "enemy" affects enemies only
            "noone" affects nobody
    Flag: @Integer (optional, default 0x000)
          - 0x001(UF_DEFNOTENEMY)If 'defunit_not_enemy' is set, the target is changed to 'friend'
            0x002(UF_NOREITERATION)Spell cannot be stacked
            0x004(UF_NOFOOTSET)Spell cannot be cast near/on targets
            0x008(UF_NOOVERLAP)Spell effects do not overlap
            0x010(UF_PATHCHECK)Only cells with a shootable path will be placed
            0x020(UF_NOPC)Spell cannot affect players.
            0x040(UF_NOMOB)Spell cannot affect mobs.
            0x080(UF_SKILL)Spell CAN affect skills.
            0x100(UF_DANCE)Dance skill
            0x200(UF_ENSEMBLE)Ensemble skill
            0x400(UF_SONG)Song skill
            0x800(UF_DUALMODE)Spell has effects both at an interval and when you step in/out
            0x2000(UF_RANGEDSINGLEUNIT)Layout hack, use layout range propriety but only display center.
            Example: 0x006 = 0x002+0x004 -> Cannot be stacked nor cast near targets
 },
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
Viewed 941 times, submitted by Smokexyz.