123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933 |
- //===== rAthena Documentation ================================
- //= Skill Database Structure
- //===== By: ==================================================
- //= rAthena Dev Team
- //===== Last Updated: ========================================
- //= 20220126
- //===== Description: =========================================
- //= Explanation of the skill_db.yml file and structure.
- //============================================================
- ---------------------------------------
- Id: Unique skill ID.
- ---------------------------------------
- Name: Skill Aegis name.
- ---------------------------------------
- Description: Skill description.
- ---------------------------------------
- MaxLevel: Max skill level.
- ---------------------------------------
- Type: Skill type.
- None - No specific type. (Default)
- Weapon - Weapon type damage.
- Magic - Magic type damage.
- Misc - Misc type damage.
- ---------------------------------------
- TargetType: Skill target type.
- Passive - Passive skill. (Default)
- Attack - Damage enemies.
- Ground - Ground placement skill.
- Self - Self cast skill.
- Support - Friendly cast skill.
- Trap - Trap cast skill.
- ---------------------------------------
- DamageFlags: Skill damage properties.
- NoDamage - No damage skill. (Default)
- Splash - Has splash area.
- SplashSplit - Damage should be split among targets.
- IgnoreAtkCard - Skill ignores caster's % damage cards (Misc type always ignores).
- IgnoreElement - Skill ignores elemental adjustments.
- IgnoreDefense - Skill ignores target's defense (Misc type always ignores).
- IgnoreFlee - Skill ignores target's flee (Magic type always ignores)
- IgnoreDefCard - Skill ignores target's defense cards.
- IgnoreLongCard - Skill ignores caster's long range damage cards.
- Critical - Skill can critical.
- SimpleDefense - (Renewal-only) Physical damage is flatly reduced by DEF+DEF2. RES is ignored.
- ---------------------------------------
- Flags: Skill information flags.
- IsQuest - Quest skill.
- IsNpc - NPC skill.
- IsWedding - Wedding skill.
- IsSpirit - Spirit skill.
- IsGuild - Guild skill.
- IsSong - Song/Dance skill.
- IsEnsemble - Ensemble skill.
- IsTrap - Trap skill.
- TargetSelf - Damages/targets self.
- NoTargetSelf - Cannot target self. If TargetType is Self, changes to Attack.
- PartyOnly - Usable on party (and enemies if offensive).
- GuildOnly - Usable on guild (and enemies if offensive).
- NoTargetEnemy - Disable on enemies (for non-offensive).
- IsShadowSpell - Make skill available for SC_AUTOSHADOWSPELL.
- IsChorus - Chorus skill.
- IgnoreBgReduction - Ignore Battleground reduction.
- IgnoreGvgReduction - Ignore GvG reduction.
- DisableNearNpc - Disable self/ground skills near NPC. In tandem with NoNearNpc node.
- TargetTrap - Damage traps. If TargetType is Trap.
- IgnoreLandProtector - Ignore SA_LANDPROTECTOR.
- AllowWhenHidden - Usable while hiding.
- AllowWhenPerforming - Usable while in dancing state.
- TargetEmperium - Damages/targets Emperium.
- IgnoreKagehumi - Ignore KG_KAGEHUMI.
- AlterRangeVulture - Skill range affected by AC_VULTURE.
- AlterRangeSnakeEye - Skill range affected by GS_SNAKEEYE.
- AlterRangeShadowJump - Skill range affected by NJ_SHADOWJUMP.
- AlterRangeRadius - Skill range affected by WL_RADIUS.
- AlterRangeResearchTrap - Skill range affected by RA_RESEARCHTRAP.
- IgnoreHovering - Ignore SC_HOVERING.
- AllowOnWarg - Usable while riding Warg.
- AllowOnMado - Usable while on Madogear.
- TargetManHole - Target enemy with SC__MANHOLE.
- TargetHidden - Target enemy with OPTION_HIDE.
- IncreaseDanceWithWugDamage - Increase SC_DANCEWITHWUG damage.
- IgnoreWugBite - Ignore RA_WUGBITE.
- IgnoreAutoGuard - Not blocked by SC_AUTOGUARD (When TargetType is Weapon only).
- IgnoreCicada - Not blocked by SC_UTSUSEMI or SC_BUNSINJYUTSU (When TargetType is Weapon only).
- ShowScale - Shows AoE area while casting
- IgnoreGtb - Not blocked by Golden Thief Bug card.
- Toggleable - Skill can be toggled on and off. When toggled off the skill doesn't consume HP/SP.
- ---------------------------------------
- Range: Skill range. Combo skills do not check for range when used. If range is < 5 the skill is considered melee-range.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- Range: 1
- Sequence Map Form
- Range:
- - Level: 1
- Size: 1
- - Level: 2
- Size: 1
- - Level: 3
- Size: 2
- - Level: 4
- Size: 2
- - Level: 5
- Size: 3
- ---------------------------------------
- Hit: Skill hit type.
- Normal - Passive/No damage skill. (Default)
- Single - Single hit.
- Multi_Hit - Multiple hits.
- ---------------------------------------
- HitCount: Skill hit count. When positive the damage is increased by hits. Negative values the number of hits without increasing the total damage.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- HitCount: 1
- Sequence Map Form
- HitCount:
- - Level: 1
- Count: 2
- - Level: 2
- Count: 4
- - Level: 3
- Count: 6
- - Level: 4
- Count: 8
- - Level: 5
- Count: 10
- ---------------------------------------
- Element: Skill element.
- Neutral (Default)
- Water
- Earth
- Fire
- Wind
- Poison
- Holy
- Dark
- Ghost
- Undead
- Weapon - Uses weapon element.
- Endowed - Uses endowed element.
- Random - Uses random element.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- Element: Fire
- Sequence Map Form
- Element:
- - Level: 1
- Element: Neutral
- - Level: 2
- Element: Neutral
- - Level: 3
- Element: Poison
- - Level: 4
- Element: Poison
- - Level: 5
- Element: Poison
- ---------------------------------------
- SplashArea: Skill splash area of effect.
- -1 - Screen-wide.
- 0 - No splash.
- All other values follow the formula: value * 2 + 1
- 1 - 3x3
- 2 - 5x5
- 3 - 7x7
- 4 - 9x9
- 5 - 11x11
- 6 - 13x13
- 7 - 15x15
- 8 - 17x17
- 9 - 19x19
- 10 - 21x21
- 11 - 23x32
- 12 - 25x25
- 13 - 27x27
- 14 - 29x29
- 15 - 31x31
- Can be defined in scalar form or sequence map form:
- Scalar Form
- SplashArea: 1
- Sequence Map Form
- SplashArea:
- - Level: 1
- Area: 1
- - Level: 2
- Area: 1
- - Level: 3
- Area: 2
- - Level: 4
- Area: 2
- - Level: 5
- Area: 3
- ---------------------------------------
- ActiveInstance: Maximum amount of active skill instances that can be on the ground.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- ActiveInstance: 1
- Sequence Map Form
- ActiveInstance:
- - Level: 1
- Max: 1
- - Level: 2
- Max: 1
- - Level: 3
- Max: 2
- - Level: 4
- Max: 2
- - Level: 5
- Max: 3
- ---------------------------------------
- Knockback: Amount of tiles the skill knockbacks.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- Knockback: 1
- Sequence Map Form
- Range:
- - Level: 1
- Amount: 1
- - Level: 2
- Amount: 1
- - Level: 3
- Amount: 2
- - Level: 4
- Amount: 2
- - Level: 5
- Amount: 3
- ---------------------------------------
- CopyFlags: Determines if the skill is copyable.
- Skill - Type of skill that can copy.
- Plagiarism
- Reproduce
- RemoveRequirement - Ability to remove skill cast requirement.
- HpCost
- SpCost
- HpRateCost
- SpRateCost
- MaxHpTrigger
- ZenyCost
- Weapon
- Ammo
- State
- Status
- SpiritSphereCost
- ItemCost
- Equipment
- ---------------------------------------
- NoNearNPC: Determines if the skill can be used near a NPC.
- AdditionalRange - Number of cells from an NPC where the skill can be cast.
- If zero this will read the splash range value.
- If that is also zero then Unit Range + Unit Layout Range will be used.
- Type - Type of NPC that will block the skill.
- WarpPortal
- Shop
- Npc
- Tomb
- ---------------------------------------
- CastCancel: Cancel cast when hit.
- ---------------------------------------
- CastDefenseReduction: Defense reduction rate during skill cast.
- ---------------------------------------
- CastTime: Time to cast the skill in milliseconds.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- CastTime: 1000
- Sequence Map Form
- CastTime:
- - Level: 1
- Time: 1000
- - Level: 2
- Time: 2000
- - Level: 3
- Time: 3000
- - Level: 4
- Time: 4000
- - Level: 5
- Time: 5000
- ---------------------------------------
- AfterCastActDelay: Time the character cannot use skills in milliseconds.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- AfterCastActDelay: 1000
- Sequence Map Form
- AfterCastActDelay:
- - Level: 1
- Time: 1000
- - Level: 2
- Time: 2000
- - Level: 3
- Time: 3000
- - Level: 4
- Time: 4000
- - Level: 5
- Time: 5000
- ---------------------------------------
- AfterCastWalkDelay: Time before the character can move again in milliseconds.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- AfterCastWalkDelay: 1000
- Sequence Map Form
- AfterCastWalkDelay:
- - Level: 1
- Time: 1000
- - Level: 2
- Time: 2000
- - Level: 3
- Time: 3000
- - Level: 4
- Time: 4000
- - Level: 5
- Time: 5000
- ---------------------------------------
- Duration1: Duration of the skill in milliseconds.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- Duration1: 1000
- Sequence Map Form
- Duration1:
- - Level: 1
- Time: 1000
- - Level: 2
- Time: 2000
- - Level: 3
- Time: 3000
- - Level: 4
- Time: 4000
- - Level: 5
- Time: 5000
- ---------------------------------------
- Duration2: Duration of the skill in milliseconds.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- Duration2: 1000
- Sequence Map Form
- Duration2:
- - Level: 1
- Time: 1000
- - Level: 2
- Time: 2000
- - Level: 3
- Time: 3000
- - Level: 4
- Time: 4000
- - Level: 5
- Time: 5000
- ---------------------------------------
- Cooldown: Time before the character can use the same skill again in milliseconds.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- Cooldown: 1000
- Sequence Map Form
- Cooldown:
- - Level: 1
- Time: 1000
- - Level: 2
- Time: 2000
- - Level: 3
- Time: 3000
- - Level: 4
- Time: 4000
- - Level: 5
- Time: 5000
- ---------------------------------------
- FixedCastTime: Time that is fixed during cast of the skill in milliseconds. A value of -1 will use 20% of CastTime as FixedCastTime. See battle_config::default_fixed_castrate to adjust the rate.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- FixedCastTime: 1000
- Sequence Map Form
- FixedCastTime:
- - Level: 1
- Time: 1000
- - Level: 2
- Time: 2000
- - Level: 3
- Time: 3000
- - Level: 4
- Time: 4000
- - Level: 5
- Time: 5000
- ---------------------------------------
- CastTimeFlags: Effects of the skill's cast time.
- IgnoreDex - Cast time not affected by DEX.
- IgnoreStatus - Cast time not affected by statuses (Suffragium, etc).
- IgnoreItemBonus - Cast time not affected by item bonuses.
- ---------------------------------------
- CastDelayFlags: Effects of the skill's delay.
- IgnoreDex - Delay not affected by DEX.
- IgnoreStatus - Delay not affected by statuses (Suffragium, etc).
- IgnoreItemBonus - Delay not affected by item bonuses.
- IgnoreDex only makes sense when battle_config::delay_dependon_dex is enabled.
- ---------------------------------------
- Requires: List of requirements to cast the skill.
- HpCost: HP required to cast.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- HpCost: 10
- Sequence Map Form
- HpCost:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- SpCost: SP required to cast.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- SpCost: 10
- Sequence Map Form
- SpCost:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- ApCost: AP required to cast.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- ApCost: 10
- Sequence Map Form
- ApCost:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- HpRateCost: HP rate required to cast. If positive, uses current HP, else uses Max HP.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- HpRateCost: 10
- Sequence Map Form
- HpRateCost:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- SpRateCost: SP rate required to cast. If positive, uses current SP, else uses Max SP.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- SpRateCost: 10
- Sequence Map Form
- SpRateCost:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- ApRateCost: AP rate required to cast. If positive, uses current AP, else uses Max AP.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- ApRateCost: 10
- Sequence Map Form
- ApRateCost:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- MaxHpTrigger: Maximum amount of HP to cast the skill.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- MaxHpTrigger: 10
- Sequence Map Form
- MaxHpTrigger:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- ZenyCost: Zeny required to cast.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- ZenyCost: 10
- Sequence Map Form
- ZenyCost:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- Weapon: Weapon required to cast.
- All (Default)
- Fist
- Dagger
- 1hSword
- 2hSword
- 1hSpear
- 2hSpear
- 1hAxe
- 2hAxe
- Mace
- 2hMace
- Staff
- Bow
- Knuckle
- Musical
- Whip
- Book
- Katar
- Revolver
- Rifle
- Gatling
- Shotgun
- Grenade
- Huuma
- 2hStaff
- ------------------
- Ammo: Ammo required to cast.
- None (Default)
- Arrow
- Dagger
- Bullet
- Shell
- Grenade
- Shuriken
- Kunai
- Cannonball
- Throwweapon
- ------------------
- AmmoAmount: Ammo amount required to cast.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- AmmoAmount: 10
- Sequence Map Form
- AmmoAmount:
- - Level: 1
- Amount: 1
- - Level: 2
- Amount: 2
- - Level: 3
- Amount: 3
- - Level: 4
- Amount: 4
- - Level: 5
- Amount: 5
- ------------------
- State: Special state required to cast.
- None - No special state required.
- Hidden - Requires OPTION_HIDE, OPTION_CLOAK, or OPTION_CHASEWALK.
- Riding - Requires OPTION_RIDING or OPTION_DRAGON.
- Falcon - Requires OPTION_FALCON.
- Cart - Requires OPTION_CART for pre-renewal or SC_PUSH_CART for renewal.
- Shield - Requires a shield to be equipped.
- Recover_Weight_Rate - Requires weight to be less than 50% for pre-renewal or 70% for renewal.
- Move_Enable - Requires to be able to move.
- Water - Requires to be standing in water.
- RidingDragon - Requires OPTION_DRAGON.
- Wug - Requires OPTION_WUG.
- RidingWug - Requires OPTION_WUGRIDER.
- Mado - Requires OPTION_MADOGEAR.
- ElementalSpirit - Requires an Elemental Spirit to be summoned.
- ElementalSpirit2 - Requires an Elemental Spirit to be summoned and will be removed after.
- Peco - Requires OPTION_RIDING.
- Sunstance - Requires Sun/Universe Stance status be active.
- Moonstance - Requires Moon/Universe Stance status be active.
- Starstance - Requires Star/Universe Stance status be active.
- Universestance - Requires Universe Stance status be active.
- ------------------
- Status: Status change required to cast.
- For a full list, see src/map/status.hpp::sc_type.
- ------------------
- SphereCost: Spirit sphere required to cast.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- SphereCost: 10
- Sequence Map Form
- SphereCost:
- - Level: 1
- Amount: 1
- - Level: 2
- Amount: 2
- - Level: 3
- Amount: 3
- - Level: 4
- Amount: 4
- - Level: 5
- Amount: 5
- ------------------
- ItemCost: Item required to cast. If the Level is supplied, then the ItemCost becomes skill level dependent.
- Levels 1 - 5 have no item cost but levels 6 - 10 require a Blue Gemstone.
- ItemCost:
- - Item: Blue_Gemstone
- Amount: 1
- Level: 6
- - Item: Blue_Gemstone
- Amount: 1
- Level: 7
- - Item: Blue_Gemstone
- Amount: 1
- Level: 8
- - Item: Blue_Gemstone
- Amount: 1
- Level: 9
- - Item: Blue_Gemstone
- Amount: 1
- Level: 10
- # All levels require a Blue Gemstone.
- ItemCost:
- - Item: Blue_Gemstone
- Amount: 1
- ------------------
- GiveAp: AP given on successful casting.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- GiveAp: 10
- Sequence Map Form
- GiveAp:
- - Level: 1
- Amount: 10
- - Level: 2
- Amount: 20
- - Level: 3
- Amount: 30
- - Level: 4
- Amount: 40
- - Level: 5
- Amount: 50
- ------------------
- Equipment: Equipped item required to cast.
- ---------------------------------------
- Unit: Skill unit values.
- Id: Skill unit ID.
- For a full list, see src/map/skill.hpp::e_skill_unit_id.
- ------------------
- AlternateId: Alternate skill unit ID.
- For a full list, see src/map/skill.hpp::e_skill_unit_id.
- ------------------
- Layout: Skill unit layout.
- -1 - Screen-wide.
- 0 - No splash.
- All other values follow the formula: value * 2 + 1
- 1 - 3x3
- 2 - 5x5
- 3 - 7x7
- 4 - 9x9
- 5 - 11x11
- Can be defined in scalar form or sequence map form:
- Scalar Form
- Layout: 10
- Sequence Map Form
- Layout:
- - Level: 1
- Size: 1
- - Level: 2
- Size: 2
- - Level: 3
- Size: 3
- - Level: 4
- Size: 4
- - Level: 5
- Size: 5
- ------------------
- Range: Skill unit range.
- Can be defined in scalar form or sequence map form:
- Scalar Form
- Range: 10
- Sequence Map Form
- Range:
- - Level: 1
- Size: 1
- - Level: 2
- Size: 2
- - Level: 3
- Size: 3
- - Level: 4
- Size: 4
- - Level: 5
- Size: 5
- ------------------
- Interval: Skill unit interval in milliseconds.
- ------------------
- Target: Skill unit target type.
- Friend - Targets Party, Guild, Guild Allies, and neutral players.
- Party - Targets Party.
- Ally - Targets Party and Guild and Guild Allies.
- Guild - Targets Guild and Guild Allies.
- All - Targets all. (Default)
- Enemy - Targets enemy.
- Self - Targets self.
- SameGuild - Targets Guild but not Guild Allies.
- ------------------
- Flag: Skill unit flags.
- None - No flags.
- NoEnemy - If battle_config::defunit_not_enemy is enabled, the Target is changed to Friend.
- NoReiteration - Spell cannot be stacked.
- NoFootSet - Spell cannot be cast near/on targets.
- NoOverlap - Spell effects do not overlap.
- PathCheck - Only cells with a shootable path will be placed.
- NoPc - Spell cannot affect players.
- NoMob - Spell cannot affect mobs.
- Skill - Spell can affect skills.
- Dance - Dance unit.
- Ensemble - Duet unit.
- Song - Song unit.
- DualMode - Spell has effects both at an interval and when you step in/out.
- NoKnockback - Cannot be knocked back (only unit that can be damaged).
- RangedSingleUnit - Layout hack, use layout range property but only display center.
- CrazyWeedImmune - Immune to GN_CRAZYWEED.
- RemovedByFireRain - Removed by RL_FIRE_RAIN.
- KnockbackGroup - Knock back a whole skill group (by default, skill unit is knocked back by each unit).
- HiddenTrap - Hidden trap. See battle_config::traps_setting to enable this flag.
- ------------------
- Status: Status Change that is associated to the skill. The status is used in association with the status.yml database.
|