Site Tools


ac6-refmat:param:magic

Magic

Fields

Field Type Offset Description Notes
yesNoDialogMessageId s32 0x0 The text ID of to use for the 'Yes / No' dialog issued when this spell is used.
limitCancelSpEffectId s32 0x4 If the specified SpEffect is active on the player, then usage restrictions for this spell are ignored. This field refers to the following params: SpEffectParam
sortId s16 0x8 The numeric ID used for ordering each spell in menus.
refId s16 0xa The call ID to used to specific the Attack, Bullet or SpEffect this spell uses when triggered. This field refers to the following params: AtkParam_Pc, Bullet, SpEffectParam
mp s16 0xc The FP consumption of this spell when triggered.
stamina s16 0xe The stamina consumption of this spell when triggered.
iconId s16 0x10 The numeric ID used for specifying which icon is used to display this spell in menus.
behaviorId s16 0x12 The behavior parameter to use when this spell is triggered.
mtrlItemId s16 0x14 The item (or items) that the spell costs in a shop that must be present before it can be purchased. This field refers to the following params: EquipMtrlSetParam
replaceMagicId s16 0x16 The new magic row ID to use when the specified state info is invoked.
maxQuantity s16 0x18 The number of uses this spell allows when equipped before requiring a bonfire reset.
heroPoint u8 0x1a The amount of humanity this spell consumes when triggered.
overDexterity u8 0x1b The maximum value of dexterity over start value.
sfxVariationId s8 0x1c The offset to apply to the SFX ID invoked in the TAE event.
slotLength u8 0x1d The number of spell equipment slots this spell occupies.
requirementIntellect u8 0x1e The minimum amount of intelligence (INT) this spell requires for a valid cast.
requirementFaith u8 0x1f The minimum amount of faith (FTH) this spell requires for a valid cast.
analogDexiterityMin u8 0x20 The minimum value of dexterity (DEX) to start scaling the cast animation with (via the TimeAct event).
analogDexiterityMax u8 0x21 The maximum value of dexterity (DEX) to stop scaling the cast animation with (via the TimeAct event).
ezStateBehaviorType u8 0x22 The magic school this spell belongs to. This field uses the following enum: MAGIC_CATEGORY
refCategory u8 0x23 The parameter type to use for the call ID. This field uses the following enum: BEHAVIOR_REF_TYPE
spEffectCategory u8 0x24 The SpEffect category this spell belongs to This field uses the following enum: BEHAVIOR_CATEGORY
refType u8 0x25 The TimeAct offset used in the c0000 TAE to find the casting animations.
opmeMenuType u8 0x26 The type of menu to display when the spell is used. This field uses the following enum: GOODS_OPEN_MENU
pad dummy8 0x27 This field is padding.
hasSpEffectType u16 0x28 The state info value that triggers the state info switch for this spell, changing the magic row ID it uses. This field uses the following enum: SP_EFFECT_TYPE
replaceCategory u8 0x2a Additional conditions when switching the spell due to a state info switch occuring. This field uses the following enum: REPLACE_CATEGORY
useLimitCategory u8 0x2b The usage categories that this spell will be blocked by if SpEffect with the same category are present. This field uses the following enum: SP_EFFECT_USELIMIT_CATEGORY
vowType0 u8 0x2c [0] If ON, this spell is associated with the covenant in slot 0. This field is a boolean.
vowType1 u8 0x2c [1] If ON, this spell is associated with the covenant in slot 1. This field is a boolean.
vowType2 u8 0x2c [2] If ON, this spell is associated with the covenant in slot 2. This field is a boolean.
vowType3 u8 0x2c [3] If ON, this spell is associated with the covenant in slot 3. This field is a boolean.
vowType4 u8 0x2c [4] If ON, this spell is associated with the covenant in slot 4. This field is a boolean.
vowType5 u8 0x2c [5] If ON, this spell is associated with the covenant in slot 5. This field is a boolean.
vowType6 u8 0x2c [6] If ON, this spell is associated with the covenant in slot 6. This field is a boolean.
vowType7 u8 0x2c [7] If ON, this spell is associated with the covenant in slot 7. This field is a boolean.
enable_multi u8 0x2d [0] If ON, then the spell can be used in multiplayer sessions. This field is a boolean.
enable_multi_only u8 0x2d [1] If ON, then the spell can be used in multiplayer sessions, but not in offline sessions. This field is a boolean.
isEnchant u8 0x2d [2] If ON, this spell is considered a weapon enhancement spell. This field is a boolean.
isShieldEnchant u8 0x2d [3] If ON, this spell is considered a shield enhancement spell. This field is a boolean.
enable_live u8 0x2d [4] If ON, this spell can be used in a sessions where the player is the host. This field is a boolean.
enable_gray u8 0x2d [5] If ON, this spell can be used in a sessions where the player is a gray phantom. This field is a boolean.
enable_white u8 0x2d [6] If ON, this spell can be used in a sessions where the player is a white phantom. This field is a boolean.
enable_black u8 0x2d [7] If ON, this spell can be used in a sessions where the player is a black phantom. This field is a boolean.
disableOffline u8 0x2e [0] If ON, this spell is disabled if the player is not in a multiplayer session. This field is a boolean.
castResonanceMagic u8 0x2e [1] If ON, this spell will broadcast resonance across multiplayer sessions (i.e. white rings) that empower the spell. This field is a boolean.
isValidTough_ProtSADmg u8 0x2e [2] Whether the toughness calculation is performed even if the armor poise is the initial value. This field is a boolean.
pad_1 dummy8 0x2e [3-7] This field is padding.
vowType8 u8 0x2f [0] If ON, this spell is associated with the covenant in slot 8. This field is a boolean.
vowType9 u8 0x2f [1] If ON, this spell is associated with the covenant in slot 9. This field is a boolean.
vowType10 u8 0x2f [2] If ON, this spell is associated with the covenant in slot 10. This field is a boolean.
vowType11 u8 0x2f [3] If ON, this spell is associated with the covenant in slot 11. This field is a boolean.
vowType12 u8 0x2f [4] If ON, this spell is associated with the covenant in slot 12. This field is a boolean.
vowType13 u8 0x2f [5] If ON, this spell is associated with the covenant in slot 13. This field is a boolean.
vowType14 u8 0x2f [6] If ON, this spell is associated with the covenant in slot 14. This field is a boolean.
vowType15 u8 0x2f [7] If ON, this spell is associated with the covenant in slot 15. This field is a boolean.
castSfxId s32 0x30 The SFX ID to use during the cast animation of this spell. This field takes an Particle ID.
fireSfxId s32 0x34 The SFX ID to use during the shoot animation of this spell. This field takes an Particle ID.
effectSfxId s32 0x38 The SFX ID to use during the effect animation of this spell. This field takes an Particle ID.
toughnessCorrectRate f32 0x3c The magnification rate to apply to the base value of poise.
reserve dummy8 0x40 This field is padding.

Enums

BEHAVIOR_REF_TYPE

Option Description Notes
0 Attack
1 Bullet
2 SpEffect

MAGIC_CATEGORY

Option Description Notes
0 Spell
1 Miracle
2 Sorcery
3 Vow Spell

BEHAVIOR_CATEGORY

Option Description Notes
0 None
1 Right-hand Attack
2 Left-hand Attack
3 Sorcery Attack
4 Miracle Attack
5 Body
6 Enemy Attack 1
7 Enemy Attack 2
8 Enemy Attack 3
9 Kick

GOODS_OPEN_MENU

Option Description Notes
0 None
1 Yes / No
2 Kick Player
3 Leave World
4 White Soapstone
5 Write Message
6 Message List
7 Sinner Rankings
8 Chaos Servant Rankings
9 Ok / Cancel
10 Invade World
11 Select Bonfire Warp
12 Darkling

REPLACE_CATEGORY

Option Description Notes
0 None
1 Add cooperation value to Call ID
2 Add resonance value to the Call ID
3 Add Blade of the Dark Moon rank value to Call ID
4 Add Gravelord Servant rank value to Call ID
5 Add Path of the Dragon rank value to Call ID

SP_EFFECT_USELIMIT_CATEGORY

Option Description Notes
0 None
1 Weapon Change
2 Transform Body
3 Transform Head
4 Transform Head (Special)
5 Movement
6 Damage Change
7 Inflicted Status: Poison
8 Inflicted Status: Toxic
9 Inflicted Status: Bleed
10 Inflicted Status: Curse
11 Transform Body / Transform Head
12 Transform Body / Transform Head / Transform Head (Special)
13 Transform Body / Transform Head
ac6-refmat/param/magic.txt · Last modified: by admin