1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
//
// ISkillInfo.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NosSmooth.Data.Abstractions.Enums;
using NosSmooth.Data.Abstractions.Language;
namespace NosSmooth.Data.Abstractions.Infos;
/// <summary>
/// The NosTale skill information.
/// </summary>
public interface ISkillInfo : IVNumInfo
{
/// <summary>
/// Gets the translatable name of the skill.
/// </summary>
TranslatableString Name { get; }
/// <summary>
/// Gets the tile range of the skill.
/// </summary>
short Range { get; }
/// <summary>
/// Gets the zone tiles range.
/// </summary>
short ZoneRange { get; }
/// <summary>
/// Gets the time it takes to cast this skill. The unit is Tenth of a second. (10 means one second).
/// </summary>
int CastTime { get; }
/// <summary>
/// Gets the time of the cooldown. The unit is Tenth of a second. (10 means one second).
/// </summary>
int Cooldown { get; }
/// <summary>
/// Gets the type of the skill.
/// </summary>
SkillType SkillType { get; }
/// <summary>
/// Gets the attack type of the skill.
/// </summary>
AttackType AttackType { get; }
/// <summary>
/// Gets whether the skill uses secondary weapon, primary weapon is used if false.
/// </summary>
bool UsesSecondaryWeapon { get; }
/// <summary>
/// Gets the mana points the skill cast costs.
/// </summary>
int MpCost { get; }
/// <summary>
/// Gets the cast id of the skill used in u_s, su packets.
/// </summary>
short CastId { get; }
/// <summary>
/// Gets the type of the target.
/// </summary>
TargetType TargetType { get; }
/// <summary>
/// Gets the hit type of the skill.
/// </summary>
HitType HitType { get; }
/// <summary>
/// Gets the element of the skill.
/// </summary>
Element Element { get; }
/// <summary>
/// Gets the cost of the skill.
/// </summary>
int SpecialCost { get; }
/// <summary>
/// Gets the upgrade skill.
/// </summary>
short Upgrade { get; }
/// <summary>
/// Gets the upgrade type (morph).
/// </summary>
short MorphOrUpgrade { get; }
/// <summary>
/// Gets the speed of the dash.
/// </summary>
short DashSpeed { get; }
/// <summary>
/// Gets vnum of an item that is consumed by the skill.
/// </summary>
int ItemVNum { get; }
}