====== BehaviorParam ====== ===== Fields ===== ^ Field ^ Type ^ Offset ^ Description ^ Notes ^ | variationId | ''s32'' | ''0x0'' | Used when calculating the ID for attack parameters. It is not used directly on the actual machine. | | | behaviorJudgeId | ''s32'' | ''0x4'' | Used when calculating the ID for attack parameters. This ID matches the action judgment ID entered in TAE. | | | ezStateBehaviorType_old | ''u8'' | ''0x8'' | The EzState behavior type to use for ID calculation. | | | refType | ''u8'' | ''0x9'' | Which param type to reference for attack behavior. | This field uses the following enum: BEHAVIOR_REF_TYPE | | pad0 | ''dummy8'' | ''0xa'' | | This field is padding. | | atkParamId | ''s32'' | ''0xc'' | The ID to call for attack behavior. | This field refers to the following params: [[des-refmat:param:AtkParam|AtkParam_Pc]], [[des-refmat:param:AtkParam|AtkParam_Npc]] | | bulletParamId | ''s32'' | ''0x10'' | The ID to call for attack behavior. | This field refers to the following params: [[des-refmat:param:Bullet]] | | spEffectId | ''s32'' | ''0x14'' | The ID to call for attack behavior. | This field refers to the following params: [[des-refmat:param:SpEffectParam]] | | sfxVariationId | ''s32'' | ''0x18'' | Offset applied to the particle ID invoked in the TAE event. | | | category | ''u8'' | ''0x1c'' | The action category this behavior belongs to. | This field uses the following enum: BEHAVIOR_CATEGORY | | pad1 | ''dummy8'' | ''0x1d'' | | This field is padding. | | stamina | ''s32'' | ''0x2c'' | Set the amount of stamina consumed during action. | | | mp | ''s32'' | ''0x30'' | Set the amount of MP consumed during action. | | | pad3 | ''dummy8'' | ''0x34'' | | This field is padding. | | atkType | ''u8'' | ''0x35'' | Specify the particles and sounds at the time of attack (1 set by attribute, material, size). | This field uses the following enum: BEHAVIOR_ATK_TYPE | | atkMaterial | ''u8'' | ''0x36'' | Specify the particles and sounds at the time of attack (1 set by attribute, material, size). | This field uses the following enum: WEP_MATERIAL_ATK | | defMaterial | ''u8'' | ''0x37'' | Specify the particles and sounds when guarding against this attack. (1 set by attribute, material, size). | This field uses the following enum: WEP_MATERIAL_ATK | | atkSize | ''u8'' | ''0x38'' | Specify particles and sounds at the time of attack (Although it is reserved, it is used, so be sure to set it blank or small). | This field uses the following enum: BEHAVIOR_ATK_SIZE | | defSfxMaterial | ''u8'' | ''0x39'' | The particles used when guarding against this attack. | This field uses the following enum: WEP_MATERIAL_DEF_SFX | | pad2 | ''dummy8'' | ''0x3a'' | | This field is padding. | ===== Enums ===== ==== BEHAVIOR_ATK_TYPE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Slash | | | ''1'' | Blow | | | ''2'' | Thrust | | | ''3'' | Explosion | | | ''4'' | Bullet | | ==== WEP_MATERIAL_ATK ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Standard | | | ''1'' | Physical | | | ''2'' | Magic | | | ''3'' | Fire | | | ''4'' | Lightning | | | ''5'' | Dark | | | ''6'' | None | | | ''7'' | Dmy1 | | | ''8'' | Dmy2 | | | ''9'' | Dmy3 | | | ''10'' | Dmy4 | | | ''255'' | None | | ==== BEHAVIOR_ATK_SIZE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Small | | | ''1'' | Large | | ==== WEP_MATERIAL_DEF_SFX ==== ^ Option ^ Description ^ Notes ^ | ''0'' | None | | | ''50'' | Standard | | | ''51'' | Physical | | | ''52'' | Magic | | | ''53'' | Fire | | | ''54'' | Lightning | | | ''55'' | Dark | | | ''59'' | Fist | | | ''79'' | Greatshield | | | ''255'' | None | | ==== BEHAVIOR_REF_TYPE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Attack | | | ''1'' | Bullet | | | ''2'' | SpEffect | | ==== BEHAVIOR_CATEGORY ==== ^ Option ^ Description ^ Notes ^ | ''0'' | None | | | ''1'' | Normal Attack | | | ''2'' | Left-hand Attack | | | ''3'' | Magic | | | ''4'' | Miracle | | | ''5'' | Body | | | ''6'' | Enemy Attack 1 | | | ''7'' | Enemy Attack 2 | | | ''8'' | Enemy Attack 3 | | | ''9'' | Kick | |