~ruther/NosSmooth

ref: e94038010bafbe7a64632252489c1457ce009d5c NosSmooth/Data/NosSmooth.Data.Abstractions/Infos/ISkillInfo.cs -rw-r--r-- 2.0 KiB
e9403801 — Rutherther feat(pathfinding): respond to su, tp, c_info packets to update position 2 years ago
                                                                                
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
//
//  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>
    public 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>
    public Element Element { get; }
}
Do not follow this link