====== Magic ====== ===== Fields ===== ^ Field ^ Type ^ Offset ^ Description ^ Notes ^ | yesNoDialogMessageId | ''s32'' | ''0x0'' | Message ID of Yes / No dialog issued when using magic | | | limitCancelSpEffectId | ''s32'' | ''0x4'' | Usage restrictions can be ignored when the specified special effect ID is activated | This field refers to the following params: [[bb-refmat:param:SpEffectParam]] | | sortId | ''s16'' | ''0x8'' | Sort ID (-1: Do not collect) | | | refId | ''s16'' | ''0xa'' | | This field refers to the following params: [[bb-refmat:param:Bullet]], [[bb-refmat:param:SpEffectParam]], [[bb-refmat:param:BehaviorParam|BehaviorParam_PC]] | | mp | ''s16'' | ''0xc'' | | | | stamina | ''s16'' | ''0xe'' | | | | iconId | ''s16'' | ''0x10'' | | | | behaviorId | ''s16'' | ''0x12'' | Set the action ID | | | mtrlItemId | ''s16'' | ''0x14'' | Item ID required for purchase | | | replaceMagicId | ''s16'' | ''0x16'' | Greys out icon when set to 1 and Disabled by State Info has a value. Needs further testing. | | | maxQuantity | ''s16'' | ''0x18'' | | | | heroPoint | ''u8'' | ''0x1a'' | | | | overDexterity | ''u8'' | ''0x1b'' | Skill over start value | | | sfxVariationId | ''s8'' | ''0x1c'' | | | | slotLength | ''u8'' | ''0x1d'' | | | | requirementIntellect | ''u8'' | ''0x1e'' | Can't be equipped without more PC intelligence | | | requirementFaith | ''u8'' | ''0x1f'' | It cannot be equipped without the power of the PC any more. | | | analogDexiterityMin | ''u8'' | ''0x20'' | Motion cancel analog: Minimum skill value | | | analogDexiterityMax | ''u8'' | ''0x21'' | Motion cancel analog: Maximum skill value | | | ezStateBehaviorType | ''u8'' | ''0x22'' | Used for sorting> For menu | This field uses the following enum: MAGIC_CATEGORY | | refCategory | ''u8'' | ''0x23'' | | This field uses the following enum: BEHAVIOR_REF_TYPE | | spEffectCategory | ''u8'' | ''0x24'' | Since there are effects (enchantment weapons, etc.) whose parameters fluctuate depending on skills, magic, items, etc., set each action so that the determined effect can correspond to the effect such as power up only weapon attack. Set None for items that do not need to be set, such as varistor. | This field uses the following enum: MAGIC_SCHOOL | | refType | ''u8'' | ''0x25'' | | This field uses the following enum: MAGIC_MOTION_TYPE | | pad | ''dummy8'' | ''0x26'' | | This field is padding. | | opmeMenuType | ''u8'' | ''0x27'' | Menu type to be displayed when using magic | | | hasSpEffectType | ''u16'' | ''0x28'' | Prevents casting when State Info is active. Set replaceMagicId to 1 to make icon grey out. | | | replaceCategory | ''u8'' | ''0x2a'' | | | | useLimitCategory | ''u8'' | ''0x2b'' | | | | vowType0 | ''u8'' | ''0x2c [0]'' | | This field is a boolean. | | vowType1 | ''u8'' | ''0x2c [1]'' | | This field is a boolean. | | vowType2 | ''u8'' | ''0x2c [2]'' | | This field is a boolean. | | vowType3 | ''u8'' | ''0x2c [3]'' | | This field is a boolean. | | vowType4 | ''u8'' | ''0x2c [4]'' | | This field is a boolean. | | vowType5 | ''u8'' | ''0x2c [5]'' | | This field is a boolean. | | vowType6 | ''u8'' | ''0x2c [6]'' | | This field is a boolean. | | vowType7 | ''u8'' | ''0x2c [7]'' | | This field is a boolean. | | enable_multi | ''u8'' | ''0x2d [0]'' | | This field is a boolean. | | enable_multi_only | ''u8'' | ''0x2d [1]'' | | This field is a boolean. | | isEnchant | ''u8'' | ''0x2d [2]'' | | This field is a boolean. | | isShieldEnchant | ''u8'' | ''0x2d [3]'' | | This field is a boolean. | | enable_live | ''u8'' | ''0x2d [4]'' | Can surviving characters be used? | This field is a boolean. | | enable_gray | ''u8'' | ''0x2d [5]'' | Can gray characters be used? | This field is a boolean. | | enable_white | ''u8'' | ''0x2d [6]'' | Can white ghost characters be used? | This field is a boolean. | | enable_black | ''u8'' | ''0x2d [7]'' | Can black ghost characters be used? | This field is a boolean. | | disableOffline | ''u8'' | ''0x2e [0]'' | | This field is a boolean. | | castResonanceMagic | ''u8'' | ''0x2e [1]'' | | This field is a boolean. | | pad_1 | ''dummy8'' | ''0x2e [2-7]'' | | This field is padding. | | vowType8 | ''u8'' | ''0x2f [0]'' | | This field is a boolean. | | vowType9 | ''u8'' | ''0x2f [1]'' | | This field is a boolean. | | vowType10 | ''u8'' | ''0x2f [2]'' | | This field is a boolean. | | vowType11 | ''u8'' | ''0x2f [3]'' | | This field is a boolean. | | vowType12 | ''u8'' | ''0x2f [4]'' | | This field is a boolean. | | vowType13 | ''u8'' | ''0x2f [5]'' | | This field is a boolean. | | vowType14 | ''u8'' | ''0x2f [6]'' | | This field is a boolean. | | vowType15 | ''u8'' | ''0x2f [7]'' | | This field is a boolean. | ===== Enums ===== ==== MAGIC_CATEGORY ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Sorcery | | | ''1'' | Miracle | | | ''2'' | Pyromancy | | | ''3'' | Vow Magic (Magic 4) | | ==== MAGIC_SCHOOL ==== ^ Option ^ Description ^ Notes ^ | ''3'' | Sorcery | | | ''4'' | Miracle | | | ''5'' | Basic | | | ''9'' | Kick | | | ''10'' | Pyromancy | | ==== MAGIC_MOTION_TYPE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Quick Soul Arrow [0.5] (1.0) | | | ''1'' | Magic Weapon [1.0] | | | ''2'' | Hidden Body [1.0] | | | ''3'' | Unused | | | ''4'' | Unused | | | ''5'' | Fireball [1.0] | | | ''6'' | Iron Flesh [1.5] | | | ''7'' | Unused | | | ''8'' | Great Combustion [0.5] | | | ''9'' | Poison Mist [1.33] | | | ''10'' | Firestorm [1.67] | | | ''11'' | Rapport [1.33] | | | ''12'' | Force [0.33] | | | ''13'' | Chameleon [1.0] | | | ''14'' | Unused | | | ''15'' | Unused | | | ''16'' | Unused | | | ''17'' | Magic Shield [1.17] | | | ''18'' | Emit Force [1.33] | | | ''19'' | Lightning Spear [0.43] (1.72) | | | ''20'' | Cast Light [1.33] | | | ''21'' | Unused | | | ''22'' | Very Slow Soul Arrow [1.67] (3.34) | | | ''23'' | Fire Surge [0.67] | | | ''24'' | Fire Whip [0.67] | | | ''25'' | Soul Greatsword [0.67] | | | ''26'' | Heal [1.83] (3.66) | | | ''27'' | Heal Aid [0.73] | | | ''28'' | Sacred Oath [1.83] | | | ''29'' | Farron Dart [0.4] | | | ''30'' | Farron Flashsword [0.67] | | | ''31'' | Soul Stream [2.83] | | | ''32'' | Profaned Flame [1.0] | | | ''33'' | Sacred Flame [1.83] | | | ''34'' | Lightning Stake [1.0] | | | ''35'' | Gnaw [1.67] | | | ''36'' | Lightning Storm [1.67] | | | ''37'' | Dark Edge [0.67] | | | ''38'' | Warmth [1.33] | | | ''39'' | Wrath of the Gods [1.63] | | | ''40'' | Farron Hail [1.57] | | | ''41'' | Slow Soul Arrow [1.67] | | | ''42'' | Black Serpent [1.0] | | | ''43'' | Chaos Bed Vestiges [0.97] | | | ''44'' | Lifehunt Scythe [1.17] | | | ''45'' | Divine Pillars of Light [1.67] | | | ''46'' | Old Moonlight [0.67] | | | ''47'' | Floating Chaos [1.33] | | | ''48'' | Way of White Corona [0.43] | | | ''49'' | Lightning Arrow [1.83] | | | ''50'' | Flame Fan [0.5] | | ==== BEHAVIOR_REF_TYPE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Behavior | | | ''1'' | Bullet | | | ''2'' | SpEffect | | ==== MAGIC_STATUS_TYPE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Strength | | | ''1'' | Dexterity | | | ''2'' | Faith | | | ''3'' | Intelligence | |