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

Name Type Select Backend name Description
additionalData Dictionary Optional additional_data Any additional information
reasonForFailure string Required reason_for_failure If an action failed, e.g., success is false, indicate reason for failure. E.g., skill_incorrectly_used.
skillID string Required skill_id The internal ID of the skill being used
skillName string Required skill_name Name of the skill being used e.g. Fireball, Big Swing
success bool Required success Indicates success or failure

Code example:

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