Site Tools


ds1-refmat:param:behaviorparam

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.
refId s32 0xc The ID to call for attack behavior. Param used is determined by refType. This field refers to the following params: AtkParam_Pc, AtkParam_Npc, Bullet, SpEffectParam
sfxVariationId s32 0x10 Offset applied to the particle ID invoked in the TAE event.
stamina s32 0x14 Set the amount of stamina consumed during action.
mp s32 0x18 Set the amount of MP consumed during action.
category u8 0x1c The action category this behavior belongs to. This field uses the following enum: BEHAVIOR_CATEGORY
heroPoint u8 0x1d Set the amount of humanity consumed during action.
pad1 dummy8 0x1e This field is padding.

Enums

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
ds1-refmat/param/behaviorparam.txt · Last modified: by admin