Use Skill

AI
Server Side
Both Mobile and PC

Target AI releases certain skill

Declaration

func MonsterUseSkill(target entity<Monster>, skill MonsterSkillType, skillTarget entity<Player>, out var isSuccess bool)
go

Parameters

Input

Name Type Description
Target AI Target AI
Skill AISkillType Skill
Skill Target Player Skill Target

Out

Name Type Description
Is Success Bool Whether the skill is released successfully