====== Magic ====== ===== Fields ===== ^ Field ^ Type ^ Offset ^ Description ^ Notes ^ | ezStateBehaviorType | ''u8'' | ''0x0'' | The magic school this spell belongs to. | This field uses the following enum: MAGIC_CATEGORY | | refType | ''u8'' | ''0x1'' | The TimeAct offset used in the c0000 TAE to find the casting animations. | This field uses the following enum: TAE_MOTION_MAGIC_CATEGORIES | | enable_multi | ''u8'' | ''0x2'' | If ON, then the spell can be used in multiplayer sessions. | This field is a boolean. | | enable_multi_only | ''u8'' | ''0x3'' | If ON, then the spell can be used in multiplayer sessions, but not in offline sessions. | This field is a boolean. | | iconId | ''s32'' | ''0x4'' | The numeric ID used for specifying which icon is used to display this spell in menus. | | | behaviorId | ''s32'' | ''0x8'' | The behavior parameter to use when this spell is triggered. | | | faithForGet | ''s16'' | ''0xc'' | The minimum amount of faith (FTH) this spell requires for a valid cast. | | | slotLength | ''u8'' | ''0xe'' | The number of spell equipment slots this spell occupies. | | | isEnchant | ''u8'' | ''0xf'' | If ON, this spell is considered a weapon enhancement spell. | This field is a boolean. | | sortId | ''s32'' | ''0x10'' | The numeric ID used for ordering each spell in menus. | | | basicValue | ''s32'' | ''0x14'' | The base price for this spell. | | | mtrlItemId | ''s32'' | ''0x18'' | 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: [[des-refmat:param:EquipMtrlSetParam]] | | enable_live | ''u8'' | ''0x1c'' | If ON, this spell can be used in a sessions where the player is the host. | This field is a boolean. | | enable_gray | ''u8'' | ''0x1d'' | 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'' | ''0x1e'' | 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'' | ''0x1f'' | If ON, this spell can be used in a sessions where the player is a black phantom. | This field is a boolean. | | yesNoDialogMessageId | ''s32'' | ''0x20'' | 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 | | opmeMenuType | ''u8'' | ''0x24'' | The type of menu to display when the spell is used. | This field uses the following enum: GOODS_OPEN_MENU | | disableOffline | ''u8'' | ''0x25'' | If ON, this spell is disabled if the player is not in a multiplayer session. | This field is a boolean. | | pad1 | ''dummy8'' | ''0x26'' | | This field is padding. | ===== Enums ===== ==== MAGIC_CATEGORY ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Sorcery | | | ''1'' | Miracle | | ==== 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 | | ==== TAE_MOTION_MAGIC_CATEGORIES ==== ^ Option ^ Description ^ Notes ^ | ''0'' | None | |