Classes
c_spell_cast_info

c_spell_cast_info

Members

  • missile_index: number
  • missile_nid: number
  • start_position: vec3
  • end_position: vec3
  • windup_time: number
  • total_cast_time: number
  • is_autoattack: boolean
  • is_special_attack: boolean
  • was_autoattack_cast: boolean
  • was_autoattack_cast2: boolean
  • slot: e_spell_slot
  • server_cast_time: number
  • end_time: number
  • start_time: number
  • owner_character: string
  • coefficient: number
  • coefficient2: number
  • cooldown_time: number
  • name: string
  • mana_cost: number
  • missile_speed: number
  • channel_duration: number
  • missile_width: number

Functions

get_target_index

ArgumentTypeRequired
returnsnumber
print("Target " .. spell_cast_info:get_target_index())