AI skill configuration||doc135573

September 20, 2022

Description

Additional fields for AI skill configuration.


Parameters

field Briefly Configuration type Defaults Description
fullName skill pathname string “” The path name of the skill, for example: the skill name in the editor is testSkill , then the path name is myplugin/testSkill
attackDis release distance float If it is not configured, the attack distance of the skill configured in the skill will be taken. If none is filled, the default is 0. This configuration controls the AI to enter the range and release the skills.
priority Skill priority int 0 In the release skill list, filter out the list of skills that can be released on the target, and then sort according to this priority. The larger the value, the higher the priority.
hpRateMin Lower blood volume ratio float none The value range is 0-1. The skill will only be released when the HP ratio of ai is between hpRateMin and hpRateMax.
hpRateMax blood cap ratio float none The value range is 0-1. The skill will only be released when the HP ratio of ai is between hpRateMin and hpRateMax.
attackDis range of attack float If it is not configured, the attack distance of the skill configured in the skill will be taken. If none is filled, the default is 0. This configuration controls the AI to enter the range and release the skills.
priority Skill release priority float 0 In the release skill list, filter out the list of skills that can be released on the target, and then sort according to this priority. The larger the value, the higher the priority.
startOffest Skill release starting point offset vector v3 none Taking the AI position as the origin, offset the starting point of releasing the skill
sameLevel Whether the attack target point of the skill should be at the same level as the AI itself bool none The absolute value of the difference between the position of ai and the position of the target does not exceed 0.5, which is the same level, and the skills will not be released if they are not at the same level.
startAction The forward shake action to release the skill string none When configured, the action will be released first, and then the skill will be released on the target, causing damage
startActionTime The time of the pre-shake action to release the skill float 20 When the startAction is configured, the action will be released for the startActionTime time, and then the skill will be released on the target, causing damage
castActionTime time to release skills float 20 After causing damage to the target, wait for the castActionTime time before switching to the next state, which is equivalent to the back shake time