SkillUsed

Introduction

  • Backend Name: skill_used

  • Description: The player used a skill in game (cast fireball, used bomb, used swing…)

  • Event Type: Game

  • Priority: P3

Parameters

NameTypeSelectBackend nameDescription
additionalDataDictionaryOptionaladditional_dataAny additional information
reasonForFailurestringRequiredreason_for_failureIf an action failed, e.g., success is false, indicate reason for failure. E.g., skill_incorrectly_used.
skillIDstringRequiredskill_idThe internal ID of the skill being used
skillNamestringRequiredskill_nameName of the skill being used e.g. Fireball, Big Swing
successboolRequiredsuccessIndicates success or failure

Code example:

LionAnalytics.SkillUsed("fly_speed_10", "fly_spin", false, "not_enough_money");