Site Tools


ds1-refmat:param:speffectparam

This is an old revision of the document!


SpEffectParam

Fields

Field Type Offset Description Notes
iconId s32 0x0 The icon id to display in the interface whilst the effect is active.
conditionHp f32 0x4 The maximum percentage of HP required for effect to activate. -1 = no requirement, 40 = less than 40% HP, 80 = less than 80% HP
effectEndurance f32 0x8 The duration of effect. In seconds.
motionInterval f32 0xc The interval for the contents of this effect to be reapplied. 0 = once per frame. In seconds.
maxHpRate f32 0x10 Multiplies maximum HP. See bCurrHPIndependeMaxHP to determine how current HP behaves. 1 = default, .5 = -50%, 2 = +100%
maxMpRate f32 0x14 Multiplies maximum MP.
maxStaminaRate f32 0x18 Multiplies maximum stamina.
slashDamageCutRate f32 0x1c Multiplies slash physical damage taken. Values below 1 mean damage is reduced, values above 1 mean damage is increased.
blowDamageCutRate f32 0x20 Multiplies strike physical damage taken. Values below 1 mean damage is reduced, values above 1 mean damage is increased.
thrustDamageCutRate f32 0x24 Multiplies thrust physical damage taken. Values below 1 mean damage is reduced, values above 1 mean damage is increased.
neutralDamageCutRate f32 0x28 Multiplies neutral physical damage taken. Values below 1 mean damage is reduced, values above 1 mean damage is increased.
magicDamageCutRate f32 0x2c Multiplies magic damage taken. Values below 1 mean damage is reduced, values above 1 mean damage is increased.
fireDamageCutRate f32 0x30 Multiplies fire damage taken. Values below 1 mean damage is reduced, values above 1 mean damage is increased.
thunderDamageCutRate f32 0x34 Multiplies lightning damage taken. Values below 1 mean damage is reduced, values above 1 mean damage is increased.
physicsAttackRate f32 0x38 Multiplies physical damage dealt (post-defense, bypasses attack rating)
magicAttackRate f32 0x3c Multiplies magic damage dealt (post-defense, bypasses attack rating)
fireAttackRate f32 0x40 Multiplies fire damage dealt (post-defense, bypasses attack rating)
thunderAttackRate f32 0x44 Multiplies lightning damage dealt (post-defense, bypasses attack rating)
physicsAttackPowerRate f32 0x48 Multiplies physical damage dealt.
magicAttackPowerRate f32 0x4c Multiplies magic damage dealt.
fireAttackPowerRate f32 0x50 Multiplies fire damage dealt.
thunderAttackPowerRate f32 0x54 Multiplies lightning damage dealt.
physicsAttackPower s32 0x58 Adds physical damage to attack rating.
magicAttackPower s32 0x5c Adds magic damage to attack rating.
fireAttackPower s32 0x60 Adds fire damage to attack rating.
thunderAttackPower s32 0x64 Adds lightning damage to attack rating.
physicsDiffenceRate f32 0x68 Multiplies physical defense.
magicDiffenceRate f32 0x6c Multiplies magic defense.
fireDiffenceRate f32 0x70 Multiplies fire defense.
thunderDiffenceRate f32 0x74 Multiplies lightning defense.
physicsDiffence s32 0x78 Adds to physical defense.
magicDiffence s32 0x7c Adds to magic defense.
fireDiffence s32 0x80 Adds to fire defense.
thunderDiffence s32 0x84 Adds to lightning defense.
NoGuardDamageRate f32 0x88 Multiplier to the damage suffered by the target if it is not guarding when hit.
vitalSpotChangeRate f32 0x8c Multiplier to the damage suffered by the target if it is hit in a part designated as a 'weak point'.
normalSpotChangeRate f32 0x90 Multiplier to the damage suffered by the target if it is hit normally.
maxHpChangeRate f32 0x94 Multiplier to the maxHpRate values present on the character this effect belongs to.
behaviorId s32 0x98 The ID of BehaviorParam or BehaviorParam_PC to apply to the effect's owner. Requires stateInfo 142 to function for non-player characters. Requires stateInfo 171 to function for player characters. This field refers to the following params: BehaviorParam, BehaviorParam_PC
changeHpRate f32 0x9c Causes HP loss to the character this effect belongs to by the set value. Negative values will restore. The value is a percentage of the maximum HP of the character.
changeHpPoint s32 0xa0 Causes HP loss to the character this effect belongs to by the set value. Negative values will restore. The value is a flat value.
changeMpRate f32 0xa4 Causes MP loss to the character this effect belongs to by the set value. Negative values will restore. The value is a percentage of the maximum MP of the character.
changeMpPoint s32 0xa8 Causes MP loss to the character this effect belongs to by the set value. Negative values will restore. The value is a flat value.
mpRecoverChangeSpeed s32 0xac The amount of MP recovered per second.
changeStaminaRate f32 0xb0 Causes Stamina loss to the character this effect belongs to by the set value. Negative values will restore. The value is a percentage of the maximum MP of the character.
changeStaminaPoint s32 0xb4 Causes Stamina loss to the character this effect belongs to by the set value. Negative values will restore. The value is a flat value.
staminaRecoverChangeSpeed s32 0xb8 The amount of stamina recovered per second.
magicEffectTimeChange f32 0xbc For only spells whose effect duration is set to 0.1 seconds or more, add or subtract the time set to the effect duration. Lingering Dragoncrest Ring uses stateinfo 193 which checks for isExtendSpEffectLife.
insideDurability s32 0xc0 Causes Durability loss to the used equipment of the character this effect belongs to by the set value. Negative values will restore. The value is a flat value.
maxDurability s32 0xc4 Affects hits required before durability is consumed. 5 = +5 hits before durability consumed, -5 = -5 hits before durability consumed
staminaAttackRate f32 0xc8 Multiplies stamina damage dealt.
poizonAttackPower s32 0xcc Adds to the amount of poison status effect inflicted.
registIllness s32 0xd0 Adds to the amount of toxic status effect inflicted.
registBlood s32 0xd4 Adds to the amount of bleed status effect inflicted.
registCurse s32 0xd8 Adds to the amount of curse status effect inflicted.
fallDamageRate f32 0xdc Does nothing. Fall control effects use stateInfo 47
soulRate f32 0xe0 Multiplies souls received from enemies.
equipWeightChangeRate f32 0xe4 Multiplies maximum equip weight.
allItemWeightChangeRate f32 0xe8 Multiplies maximum item weight. Does nothing. Probable DeS remnant.
soul s32 0xec Flat increase/decrease to souls.
animIdOffset s32 0xf0 Offsets animation IDs. Frequently used to make enemies swap movesets.
haveSoulRate f32 0xf4 Multiplies the amount of souls granted after death. Requires base value in character's NpcParam row.
targetPriority f32 0xf8 Chance for an enemy to switch aggro targets to/away the effect's owner. Values range from -1 to 1. +1 = 100% chance to target owner instead of current target, -1 = 100% chance to target somebody else instead of current target (effect owner).
sightSearchEnemyCut s32 0xfc The value to reduce the distance at which enemies see the effect's owner. 0 = default, 50 = -50% sight distance, 100 = -100% sight distance
hearingSearchEnemyCut s32 0x100 The value to reduce the distance at which enemies hear the effect's owner. 0 = default, 50 = -50% hearing distance, 100 = -100% hearing distance
grabityRate f32 0x104 Multiplies animation speeds. 1 = default, 0.5 = -50% speed, 2 = +100% speed
registPoizonChangeRate f32 0x108 Multiplies stat based poison resistance.
registIllnessChangeRate f32 0x10c Multiplies stat based toxic resistance.
registBloodChangeRate f32 0x110 Multiplies stat based bleed resistance.
registCurseChangeRate f32 0x114 Multiplies stat based curse resistance.
soulStealRate f32 0x118 The defense power against HP loss when soul steal move is used.
lifeReductionRate f32 0x11c Multiplies the duration of the status effect with the stateInfo specified by lifeReductionType.
hpRecoverRate f32 0x120 Multiplies healing received.
replaceSpEffectId s32 0x124 The ID of spEffectParam to add once this effect ends. This field refers to the following params: SpEffectParam
cycleOccurrenceSpEffectId s32 0x128 The ID of spEffectParam to add once every motionInterval. This field refers to the following params: SpEffectParam
atkOccurrenceSpEffectId s32 0x12c ID of spEffectParam to add to victim when the owner hits an enemy. Requires stateInfo 152 or 153 (and likely other values used for weapon buffs) to work (VFX present) This field refers to the following params: SpEffectParam
guardDefFlickPowerRate f32 0x130 The multiplier to apply to guard defense (for deflection).
guardStaminaCutRate f32 0x134 Multiplies shield stability. Requires stateInfo 158 (magic shield) or stateInfo 204 (great magic shield) to work (VFX present). Note that stability values over 100 nullify all stamina damage.
rayCastPassedTime s16 0x138 Activation time for passing the line of sight (used for the Evil Eye). In milliseconds.
changeSuperArmorPoint s16 0x13a Flat increase/decrease to poise. Requires stateInfo 155 to work.
bowDistRate s16 0x13c Addition to the bowDistRate field of the held weapon for the effect's owner.
spCategory u16 0x13e Determines special effect stacking behavior; how effects will react when another effect in the same category is added. This field uses the following enum: SP_EFFECT_SPCATEGORY
categoryPriority u8 0x140 Used with specific spCategory values to determine stacking behavior. The higher the value, the lower the priority.
saveCategory s8 0x141 Used to save effects so that they remain after quitting and loading the game. Only one effect per saveCategory is saved.
changeMagicSlot u8 0x142 Increases attunement slots.
changeMiracleSlot u8 0x143 Increases attunement slots.
heroPointDamage s8 0x144 Flat increase/decrease to humanity stat. -1 = add 1 humanity, 1 = remove 1 humanity
defFlickPower u8 0x145 Modifies the repulsion defense for the effect owner's current weapon.
flickDamageCutRate u8 0x146 The absorption rate to use when calculating the repulsion damage for the effect owner's current weapon.
bloodDamageRate u8 0x147 Multiplier to the damage portion of the Bleed status effect when it is triggered on the effect's owner.
dmgLv_None s8 0x148 The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_S s8 0x149 The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_M s8 0x14a The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_L s8 0x14b The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_BlowM s8 0x14c The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_Push s8 0x14d The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_Strike s8 0x14e The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_BlowS s8 0x14f The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_Min s8 0x150 The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_Uppercut s8 0x151 The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_BlowLL s8 0x152 The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
dmgLv_Breath s8 0x153 The damage animation to use for this damage level if it is applied to the effect's owner. This field uses the following enum: ATKPARAM_REP_DMGTYPE
atkAttribute u8 0x154 Attack attribute to use when applying attack against the victim for attacks from this effect's owner. This field uses the following enum: ATKPARAM_ATKATTR_TYPE
spAttribute u8 0x155 Special attributes to use when applying attack against the victim for attacks from this effect's owner. This field uses the following enum: ATKPARAM_SPATTR_TYPE
stateInfo u8 0x156 ID of hardcoded system to use for unique effects. Causes effects itself and is necessary for certain fields to work. Also used for visual effects by referring to the ID of a SpEffectVfxParam to use if useSpEffectEffect is true.

This field uses the following enum: SP_EFFECT_TYPE |

wepParamChange u8 0x157 Determines how specific fields, such as damage modifiers, behave with certain attack categories This field uses the following enum: SP_EFE_WEP_CHANGE_PARAM
moveType u8 0x158 Offsets character movement animations. This field uses the following enum: SP_EFFECT_MOVE_TYPE
lifeReductionType u8 0x159 Determines the type of status effect to modify the duration of. SpEffects with the specified stateInfo will be affected. This field uses the following enum: SP_EFFECT_TYPE
throwCondition u8 0x15a Affects the throwing masks. This field uses the following enum: SP_EFFECT_THROW_CONDITION_TYPE
addBehaviorJudgeId_condition s8 0x15b A condition value for the BehaviorJudgeId value used by the current owner.
addBehaviorJudgeId_add u8 0x15c A value for the BehaviorJudgeId value used by the current owner.
effectTargetSelf u8 0x15d [0] Will affect the effect's owner. This field is a boolean.
effectTargetFriend u8 0x15d [1] Will affect the effect's owner's allies. This field is a boolean.
effectTargetEnemy u8 0x15d [2] Will affect the effect's owner's enemies. This field is a boolean.
effectTargetPlayer u8 0x15d [3] Will affect the player. This field is a boolean.
effectTargetAI u8 0x15d [4] Will affect non-player characters. This field is a boolean.
effectTargetLive u8 0x15d [5] Will affect host player in multiplayer sessions. This field is a boolean.
effectTargetGhost u8 0x15d [6] Will affect all types of client players in multiplayer sessions. This field is a boolean.
effectTargetWhiteGhost u8 0x15d [7] Will affect friendly client players in multiplayer sessions. This field is a boolean.
effectTargetBlackGhost u8 0x15e [0] Will affect hostile client players in multiplayer sessions. This field is a boolean.
effectTargetAttacker u8 0x15e [1] When effect is added via equipParamWeapon spEffectBehavior field, this field determines if the effect will be applied to attacked enemies instead of the effect owner. true = affects victim, false = affects owner This field is a boolean.
dispIconNonactive u8 0x15e [2] If ON, the interface icon for the effect will still disabled even if the effect is inactive due to a failed conditional check. This field is a boolean.
useSpEffectEffect u8 0x15e [3] If ON, visual effects via SpEffectVfxParam will be used. See stateInfo for the ID of SpEffectVfxParam to be used. This field is a boolean.
bAdjustMagicAblity u8 0x15e [4] If ON, the intelligence stat will be used to correct various fields, such as damage. This field is a boolean.
bAdjustFaithAblity u8 0x15e [5] If ON, the faith stat will be used to correct various fields, such as damage. This field is a boolean.
bGameClearBonus u8 0x15e [6] If ON, this effect will only be active in NG+ or higher. This field is a boolean.
magParamChange u8 0x15e [7] If ON, damage and scaling fields will apply to sorcery and pyromancies. This field is a boolean.
miracleParamChange u8 0x15f [0] If ON, damage and scaling fields will apply to miracles. This field is a boolean.
clearSoul u8 0x15f [1] Sets soul counter to 0. This field is a boolean.
requestSOS u8 0x15f [2] Used only by White Sign Soapstone. Probably used for network matchmaking. This field is a boolean.
requestBlackSOS u8 0x15f [3] Used only by Red Sign Soapstone. Probably used for network matchmaking. This field is a boolean.
requestForceJoinBlackSOS u8 0x15f [4] Used only by (Cracked) Red Eye Orb. Probably used for network matchmaking. This field is a boolean.
requestKickSession u8 0x15f [5] Possibly kicks all clients out of your world. This field is a boolean.
requestLeaveSession u8 0x15f [6] Used only by Black Separation Crystal. Probably used to leave network sessions. This field is a boolean.
requestNpcInveda u8 0x15f [7] Used only by Black Eye Orb (Lautrec quest and cut Shiva quest). This field is a boolean.
noDead u8 0x160 [0] If ON, character cannot become a corpse (and thus die). This field is a boolean.
bCurrHPIndependeMaxHP u8 0x160 [1] Determines how current HP behaves when maximum HP is modified. true = current HP will not change, false = current HP will change with max HP This field is a boolean.
corrosionIgnore u8 0x160 [2] If ON, disables durability damage to the effect owner's weapons and armor. This field is a boolean.
sightSearchCutIgnore u8 0x160 [3] If ON, visual search adjustments from sightSearchEnemyCut are ignored by the effect owner. This field is a boolean.
hearingSearchCutIgnore u8 0x160 [4] If ON, auditory search adjustments from hearingSearchEnemyCut are ignored by the effect owner. This field is a boolean.
antiMagicIgnore u8 0x160 [5] If ON, magic blocking effects are ignored by the effect owner (Vow of Silence). This field is a boolean.
fakeTargetIgnore u8 0x160 [6] If ON, the effect owner will ignore fake targets (Aural Decoy projectiles). This field is a boolean.
fakeTargetIgnoreUndead u8 0x160 [7] If ON, the effect owner will ignore fake undead targets (Alluring Skull projectiles). This field is a boolean.
fakeTargetIgnoreAnimal u8 0x161 [0] If ON, the effect owner will ignore fake animal targets. This field is a boolean.
grabityIgnore u8 0x161 [1] If ON, the effect owner ignores grabityRate changes. This field is a boolean.
disablePoison u8 0x161 [2] If ON, effect owner becomes immune to poison. This field is a boolean.
disableDisease u8 0x161 [3] If ON, effect owner becomes immune to toxic. This field is a boolean.
disableBlood u8 0x161 [4] If ON, effect owner becomes immune to bleed. This field is a boolean.
disableCurse u8 0x161 [5] If ON, effect owner becomes immune to curse. This field is a boolean.
enableCharm u8 0x161 [6] If ON, effect owner is vulnerable to charm effects (Undead Rapport). This field is a boolean.
enableLifeTime u8 0x161 [7] If ON, the effect duration can be extended by a TimeAct event.. This field is a boolean.
hasTarget u8 0x162 [0] If ON, enable the activation conditions for the Evil Eye. This field is a boolean.
isFireDamageCancel u8 0x162 [1] If ON, this effect will be cancelled early if fire damage is applied to the effect owner. This field is a boolean.
isExtendSpEffectLife u8 0x162 [2] Determines if effectEndurance will be affected by stateInfo 193 which is used by the Lingering Dragoncrest Ring. This field is a boolean.
requestLeaveColiseumSession u8 0x162 [3] Used only by Purple Coward's Crystal. This field is a boolean.
pad_2 dummy8 0x162 [4-7] This field is padding.
vowType0 u8 0x163 [0] Effect usable while in no covenant. This field is a boolean.
vowType1 u8 0x163 [1] Effect usable while in Way of White covenant. This field is a boolean.
vowType2 u8 0x163 [2] Effect usable while in Princess Guard covenant. This field is a boolean.
vowType3 u8 0x163 [3] Effect usable while in Warrior of Sunlight covenant. This field is a boolean.
vowType4 u8 0x163 [4] Effect usable while in Darkwraith covenant. This field is a boolean.
vowType5 u8 0x163 [5] Effect usable while in Path of the Dragon covenant. This field is a boolean.
vowType6 u8 0x163 [6] Effect usable while in Gravelord Servant covenant. This field is a boolean.
vowType7 u8 0x163 [7] Effect usable while in Forest Hunter covenant. This field is a boolean.
vowType8 u8 0x164 [0] Effect usable while in Blade of the Dark Moon covenant. This field is a boolean.
vowType9 u8 0x164 [1] Effect usable while in Chaos Servant covenant. This field is a boolean.
vowType10 u8 0x164 [2] Effect usable while in ? covenant. This field is a boolean.
vowType11 u8 0x164 [3] Effect usable while in ? covenant. This field is a boolean.
vowType12 u8 0x164 [4] Effect usable while in ? covenant. This field is a boolean.
vowType13 u8 0x164 [5] Effect usable while in ? covenant. This field is a boolean.
vowType14 u8 0x164 [6] Effect usable while in ? covenant. This field is a boolean.
vowType15 u8 0x164 [7] Effect usable while in ? covenant. This field is a boolean.
pad1 dummy8 0x165 This field is padding.

Enums

SP_EFFECT_SPCATEGORY

Option Description Notes
0 None
10 Unlimited: same ID will stack with previous instances
20 Overwrite: same ID will overwrite previous instance
100 Replace Previous: same ID will replace previous instance
1000 Priority: use categoryPriority, delay low priorities
1002 Priority: use categoryPriority, delay low priorities
10000 Retain Current: same ID will ignore new instance
10001 Retain Current: same ID will ignore new instance
10002 Retain Current: same ID will ignore new instance
10003 Retain Current: same ID will ignore new instance
10004 Retain Current: same ID will ignore new instance
10005 Retain Current: same ID will ignore new instance
10006 Retain Current: same ID will ignore new instance

ATKPARAM_REP_DMGTYPE

Option Description Notes
0 Default
1 No Stagger
2 Unavailable
3 Addition
4 Hit Stop
5 Small Stagger
6 Unavailable
7 Large Stagger
8 Unavailable
9 Unavailable
10 Blown Away
11 Unavailable
12 Unavailable

ATKPARAM_ATKATTR_TYPE

Option Description Notes
0 None
1 Slash
2 Strike
3 Thrust
4 Push

ATKPARAM_SPATTR_TYPE

Option Description Notes
0 Do not overwrite
1 None
2 Fire
3 Magic
4 Poison
5 Egg
6 Lightning
7 Petrification
8 Crystallization
255 None

SP_EFE_WEP_CHANGE_PARAM

Option Description Notes
0 Apply to All
1 Right-hand weapon attacks only
2 Left-hand weapon attacks only
3 Ignore
4 Kick

SP_EFFECT_MOVE_TYPE

Option Description Notes
0 Normal
3 Chameleon
4 Deep Water
5 Iron Flesh

SP_EFFECT_THROW_CONDITION_TYPE

Option Description Notes
0 None
1 Throw disabled
2 Parry broken
3 Lying down
4 Falling
5 Enhanced throw
6 Soul drain
ds1-refmat/param/speffectparam.1740539297.txt.gz · Last modified: by admin