====== 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. | This field refers to the following text files: Event_Text | | 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: [[ds1-refmat:param: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: [[ds1-refmat:param:AtkParam|AtkParam_Pc]], [[ds1-refmat:param:Bullet]], [[ds1-refmat:param:SpEffectParam]] | | mp | ''s16'' | ''0xc'' | The MP 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: [[ds1-refmat:param: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. | This field uses the following enum: TAE_MOTION_MAGIC_CATEGORIES | | opmeMenuType | ''u8'' | ''0x26'' | The type of menu to display when the spell is used. | This field uses the following enum: GOODS_OPEN_MENU | | hasSpEffectType | ''u8'' | ''0x27'' | 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'' | ''0x28'' | Additional conditions when switching the spell due to a state info switch occuring. | This field uses the following enum: REPLACE_CATEGORY | | useLimitCategory | ''u8'' | ''0x29'' | 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'' | ''0x2a [0]'' | If ON, this spell can be used while in no covenant. | This field is a boolean. | | vowType1 | ''u8'' | ''0x2a [1]'' | If ON, this spell can be used while in Way of White covenant. | This field is a boolean. | | vowType2 | ''u8'' | ''0x2a [2]'' | If ON, this spell can be used while in Princess Guard covenant. | This field is a boolean. | | vowType3 | ''u8'' | ''0x2a [3]'' | If ON, this spell can be used while in Warrior of Sunlight covenant. | This field is a boolean. | | vowType4 | ''u8'' | ''0x2a [4]'' | If ON, this spell can be used while in Darkwraith covenant. | This field is a boolean. | | vowType5 | ''u8'' | ''0x2a [5]'' | If ON, this spell can be used while in Path of the Dragon covenant. | This field is a boolean. | | vowType6 | ''u8'' | ''0x2a [6]'' | If ON, this spell can be used while in Gravelord Servant covenant. | This field is a boolean. | | vowType7 | ''u8'' | ''0x2a [7]'' | If ON, this spell can be used while in Forest Hunter covenant. | This field is a boolean. | | enable_multi | ''u8'' | ''0x2b [0]'' | If ON, then the spell can be used in multiplayer sessions. | This field is a boolean. | | enable_multi_only | ''u8'' | ''0x2b [1]'' | If ON, then the spell can be used in multiplayer sessions, but not in offline sessions. | This field is a boolean. | | isEnchant | ''u8'' | ''0x2b [2]'' | If ON, this spell is considered a weapon enhancement spell. | This field is a boolean. | | isShieldEnchant | ''u8'' | ''0x2b [3]'' | If ON, this spell is considered a shield enhancement spell. | This field is a boolean. | | enable_live | ''u8'' | ''0x2b [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'' | ''0x2b [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'' | ''0x2b [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'' | ''0x2b [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'' | ''0x2c [0]'' | If ON, this spell is disabled if the player is not in a multiplayer session. | This field is a boolean. | | castResonanceMagic | ''u8'' | ''0x2c [1]'' | If ON, this spell will broadcast resonance across multiplayer sessions (i.e. white rings) that empower the spell. | This field is a boolean. | | pad_1 | ''dummy8'' | ''0x2c [2-7]'' | | This field is padding. | | vowType8 | ''u8'' | ''0x2d [0]'' | If ON, this spell can be used while in Blade of the Dark Moon covenant. | This field is a boolean. | | vowType9 | ''u8'' | ''0x2d [1]'' | If ON, this spell can be used while in Chaos Servant covenant. | This field is a boolean. | | vowType10 | ''u8'' | ''0x2d [2]'' | If ON, this spell is associated with the covenant in slot 10. | This field is a boolean. | | vowType11 | ''u8'' | ''0x2d [3]'' | If ON, this spell is associated with the covenant in slot 11. | This field is a boolean. | | vowType12 | ''u8'' | ''0x2d [4]'' | If ON, this spell is associated with the covenant in slot 12. | This field is a boolean. | | vowType13 | ''u8'' | ''0x2d [5]'' | If ON, this spell is associated with the covenant in slot 13. | This field is a boolean. | | vowType14 | ''u8'' | ''0x2d [6]'' | If ON, this spell is associated with the covenant in slot 14. | This field is a boolean. | | vowType15 | ''u8'' | ''0x2d [7]'' | If ON, this spell is associated with the covenant in slot 15. | This field is a boolean. | | pad | ''dummy8'' | ''0x2e'' | | 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 | | ==== TAE_MOTION_MAGIC_CATEGORIES ==== ^ Option ^ Description ^ Notes ^ | ''0'' | None | |