AtkParams - SekiroResurrection/modding-wiki GitHub Wiki
This parameter defines all aspects of a particular attack. This includes hitboxes, effects, knockback values, damage values, guard behaviors and more.
⚠ These parameter layouts are used for both Sekiro and NPCs, although the player character does not make use of all of them..
Parameters
| Name | Type | Value | Description |
|---|---|---|---|
| Hit0_Radius | f32 | 0 | |
| Hit1_Radius | f32 | 0 | |
| Hit2_Radius | f32 | 0 | |
| Hit3_Radius | f32 | 0 | |
| KnockbackDist | f32 | 0 | Knockback distance for unblocked attacks (Can be a negative value) |
| HitStopTime | f32 | 0 | Knockback distance for blocked attacks (Can be a negative value) |
| Unk01 | f32 | 0 | Knockback distance for deflected attacks (Can be a negative value) |
| Unk02 | f32 | 0 | |
| spEffect0 | s32 | 0 | Slot for special effects |
| spEffect1 | s32 | 0 | Slot for special effects |
| spEffect2 | s32 | 0 | Slot for special effects |
| spEffect3 | s32 | 0 | Slot for special effects |
| spEffect4 | s32 | 0 | Slot for special effects |
| Hit0_DmyPoly1 | s16 | 100 | |
| Hit1_DmyPoly1 | s16 | -1 | |
| Hit2_DmyPoly1 | s16 | -1 | |
| Hit3_DmyPoly1 | s16 | -1 | |
| Hit0_DmyPoly2 | s16 | 120 | |
| Hit1_DmyPoly2 | s16 | -1 | |
| Hit2_DmyPoly2 | s16 | -1 | |
| Hit3_DmyPoly2 | s16 | -1 | |
| Blowing Correction | s16 | 0 | |
| AtkPhysCorrection | s16 | 100 | Correction rate for physical damage |
| AtkMagCorrection | s16 | 100 | Correction rate for magic damage — Mortal Blade, Divine Confetti |
| AtkFireCorrection | s16 | 100 | Correction rate for fire damage |
| AtkThunCorrection | s16 | 100 | Correction rate for lightning damage |
| AtkStamCorrection | s16 | 100 | Correction rate for deflected posture damage |
| GuardAtkRateCorrection | s16 | 0 | |
| GuardBreakCorrection | s16 | 100 | |
| AtkThrowEscapeCorrection | s16 | 100 | |
| AtkSuperArmorCorrection | s16 | 0 | |
| AtkPhys | s16 | 0 | Value of physical damage |
| AtkMag | s16 | 0 | Value of magic damage |
| AtkFire | s16 | 0 | Value of fire damage |
| AtkThun | s16 | 0 | Value of lightning damage |
| AtkStam | s16 | 0 | Value of posture damage on deflected attacks |
| GuardAtkRate | s16 | 0 | |
| GuardBreakRate | s16 | 0 | |
| AtkSuperArmor | s16 | 0 | |
| AtkThrowEscape | s16 | 0 | |
| AtkObj | s16 | 20 | |
| GuardStaminaCutRate | s16 | 0 | |
| GuardRate | s16 | 0 | |
| ThrowTypeID | s16 | 0 | |
| Hit0_hitType | u8 | 0 | |
| Hit1_hitType | u8 | 0 | |
| Hit2_hitType | u8 | 0 | |
| Hit3_hitType | u8 | 0 | |
| hit0_Priority | u8 | 0 | |
| hit1_Priority | u8 | 0 | |
| hit2_Priority | u8 | 0 | |
| hit3_Priority | u8 | 0 | |
| damageLevel | u8 | 0-10 |
0: Not used for most hitboxes, but is used for mikiri hitboxes and other misc hitboxes. 1: Extremely low hitstun. (Isshin Ashina's One Mind invisible slashes).2: Most common level. Low hitstun.3: Medium hitstun...?4: Medium hitstun, sends Sekiro flying backwards if unblocked.5: ???6: High hitstun, pancakes Sekiro into the ground.7: ???8: No interruption for Sekiro. (Guardian Ape scream).9: High hitstun, sends Sekiro into the air dramatically.10: Extreme hitstun, creates the "katana drag" animation on Sekiro. |
| mapHitType1 | u8 | 0 | |
| GuardCutCancelRate | u8 | 0 | |
| AtkAttribute | s8 | 4 | |
| spAttribute | s8 | -1 | |
| atkType | s8 | 0 | |
| atkMaterial | s8 | -1 | |
| atkSize | s8 | 0 | |
| DefMaterial | s8 | -1 | |
| DefSfxMaterial | s8 | 0 | |
| HitSourceType | u8 | 0 | |
| ThrowFlag | u8 | 0 | |
| disableGuard | b8 | False | |
| disableStaminaAttack | b8 | False | |
| disableHitSpEffect | b8 | False | |
| IgnoreNotifyMissSwingForAI | b8 | False | |
| repeatHitSfx | b8 | False | |
| IsArrowAtk | b8 | False | |
| IsGhostAtk | b8 | False | |
| isDisableNoDamage | b8 | False | |
| atkPowForSfxSe | u8 | 0 | |
| atkDirForSfxSe | u8 | 0 | |
| opposeTarget | b8 | True | |
| friendlyTarget | b8 | False | |
| selfTarget | b8 | False | |
| isChargeAtk | b8 | False | |
| isShareHitList | b8 | False | |
| isCheckObjPenetration | b8 | False | |
| 0x81 | b8 | False | |
| 0x81 | b8 | False | |
| pad1 | u8 | 0 | Enables the game to request special animations. 17: Sand kick 19: Divine Dragon's wind launch 20: Small hop? 21: Genichiro & Sekiro's trading 22: Emma & Sekiro trading 23: Owl and Sekiro trading |
| regainableSlotId | u8 | 0 | |
| deathCauseId | s32 | 0 | |
| decalId1 | s32 | 0 | |
| decalId2 | s32 | 100 | |
| spawnAiSoundId | s32 | 2030 | |
| HitAiSoundId | s32 | 2130 | |
| RumbleId0 | s32 | -1 | |
| RumbleId1 | s32 | -1 | |
| RumbleId2 | s32 | -1 | |
| RumbleId3 | s32 | -1 | |
| Hit0_VfxId | s32 | -1 | |
| Hit0_DummyPolyId0 | s32 | -1 | |
| Hit0_DummyPolyId1 | s32 | -1 | |
| Hit1_VfxId1 | s32 | -1 | |
| Hit1_DummyPolyId0 | s32 | -1 | |
| Hit1_DummyPolyId1 | s32 | -1 | |
| Hit2_VfxId | s32 | -1 | |
| Hit2_DummyPolyId0 | s32 | -1 | |
| Hit2_DummyPolyId1 | s32 | -1 | |
| Hit3_VfxId | s32 | -1 | |
| Hit3_DummyPolyId0 | s32 | -1 | |
| Hit3_DummyPolyId1 | s32 | -1 | |
| Hit4_VfxId | s32 | -1 | |
| Hit4_DummyPolyId0 | s32 | -1 | |
| Hit4_DummyPolyId1 | s32 | -1 | |
| Hit5_VfxId | s32 | -1 | |
| Hit5_DummyPolyId0 | s32 | -1 | |
| Hit5_DummyPolyId1 | s32 | -1 | |
| Hit6_VfxId | s32 | -1 | |
| Hit6_DummyPolyId0 | s32 | -1 | |
| Hit6_DummyPolyId1 | s32 | -1 | |
| Hit7_VfxId | s32 | -1 | |
| Hit7_DummyPolyId0 | s32 | -1 | |
| Hit7_DummyPolyId1 | s32 | -1 | |
| Hit4_Radius | f32 | 0 | |
| Hit5_Radius | f32 | 0 | |
| Hit6_Radius | f32 | 0 | |
| Hit7_Radius | f32 | 0 | |
| Hit8_Radius | f32 | 0 | |
| Hit9_Radius | f32 | 0 | |
| Hit10_Radius | f32 | 0 | |
| Hit11_Radius | f32 | 0 | |
| Hit12_Radius | f32 | 0 | |
| Hit13_Radius | f32 | 0 | |
| Hit14_Radius | f32 | 0 | |
| Hit15_Radius | f32 | 0 | |
| Hit4_DmyPoly1 | s16 | -1 | |
| Hit5_DmyPoly1 | s16 | -1 | |
| Hit6_DmyPoly1 | s16 | -1 | |
| Hit7_DmyPoly1 | s16 | -1 | |
| Hit8_DmyPoly1 | s16 | -1 | |
| Hit9_DmyPoly1 | s16 | -1 | |
| Hit10_DmyPoly1 | s16 | -1 | |
| Hit11_DmyPoly1 | s16 | -1 | |
| Hit12_DmyPoly1 | s16 | -1 | |
| Hit13_DmyPoly1 | s16 | -1 | |
| Hit14_DmyPoly1 | s16 | -1 | |
| Hit15_DmyPoly1 | s16 | -1 | |
| Hit4_DmyPoly2 | s16 | -1 | |
| Hit5_DmyPoly2 | s16 | -1 | |
| Hit6_DmyPoly2 | s16 | -1 | |
| Hit7_DmyPoly2 | s16 | -1 | |
| Hit8_DmyPoly2 | s16 | -1 | |
| Hit9_DmyPoly2 | s16 | -1 | |
| Hit10_DmyPoly2 | s16 | -1 | |
| Hit11_DmyPoly2 | s16 | -1 | |
| Hit12_DmyPoly2 | s16 | -1 | |
| Hit13_DmyPoly2 | s16 | -1 | |
| Hit14_DmyPoly2 | s16 | -1 | |
| Hit15_DmyPoly2 | s16 | -1 | |
| Hit4_hitType | u8 | 0 | |
| Hit5_hitType | u8 | 0 | |
| Hit6_hitType | u8 | 0 | |
| Hit7_hitType | u8 | 0 | |
| Hit8_hitType | u8 | 0 | |
| Hit9_hitType | u8 | 0 | |
| Hit10_hitType | u8 | 0 | |
| Hit11_hitType | u8 | 0 | |
| Hit12_hitType | u8 | 0 | |
| Hit13_hitType | u8 | 0 | |
| Hit14_hitType | u8 | 0 | |
| Hit15_hitType | u8 | 0 | |
| 0x17C | s32 | 0 | |
| 0x180 | s32 | 0 | |
| 0x184 | s32 | 0 | |
| 0x186 | s16 | 255 | |
| defMaterialVal1 | s16 | 139 | |
| defMaterialVal2 | s16 | 139 | |
| atkDarkCorrection | s16 | 100 | |
| atkDark | s16 | 0 | Value of chip damage when an attack is blocked and not deflected |
| IsChargeAtk2 | b8 | False | |
| IsChargeAtk3 | b8 | True | |
| 0x192 | b8 | False | |
| 0x192 | b8 | False | |
| 0x192 | b8 | False | |
| 0x192 | b8 | False | |
| 0x192 | b8 | False | |
| 0x192 | b8 | False | |
| 0x193 | u8 | 0 | |
| NewStaminaDamage1 | u16 | 100 | |
| 0x196 | u16 | 0 | |
| Set Docking Edge Variation ID | u8 | 0 | NPC's reaction to their attacks being deflected. 1: Combo is interrupted. 2: Combo is interrupted. 11: No reaction, and combos continue. |
| Set Guard Behavior | u8 | 0 | NPC's reaction to their attacks being blocked. 1: Combo is interrupted. 2: Combo is interrupted. 11: No reaction, and combos continue. |
| SekiroUnk1 | u16 | 0 | |
| NewDamageSystem1 | u16 | 0 | |
| NewDamageSystem2 | u16 | 0 | |
| NewDamageSystem3 | u16 | 0 | |
| DamageLevel? | u16 | 0 | |
| atkElementCorrectParamId | s32 | 0 | |
| 0x1A8 | u8 | 0 | |
| ExtraAttribute | u8 | 0 | |
| NewStaminaDamage2 | u16 | 0 | Amount of posture damage dealt to Sekiro when an attack has not been blocked or deflected. |
| 0x1AC | u16 | 0 | Amount of posture damage dealt to Sekiro when an attack is blocked. |
| 0x1AE | u16 | 0 | |
| 0x1B0 | u16 | 0 | |
| 0x1B2 | u16 | 0 | |
| 0x1B4 | u16 | 0 | |
| 0x1B6 | u16 | 0 | |
| AtkType/Material/New | u8 | 0 | |
| 0x1B9 | u8 | 0 | |
| 0x1BA | u8 | 0 | |
| 0x1BB | u8 | 0 | |
| 0x1BC | s32 | -1 | |
| 0x1C0 | u8 | 0 | |
| 0x1C1 | u8 | 0 | |
| 0x1C2 | u16 | 0 | |
| 0x1C4 | u32 | 0 | |
| 0x1C8 | u8 | 0 | |
| MapHitType2 | u8 | 0 | |
| MapHitType3 | u8 | 0 | |
| 0x1CB | u8 | 0 | |
| 0x1CC | f32 | 0 |