-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #513 from MUnique/dev/area-skill-config
Added area skill configurations
- Loading branch information
Showing
26 changed files
with
5,930 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
// <copyright file="AreaSkillSettings.cs" company="MUnique"> | ||
// Licensed under the MIT License. See LICENSE file in the project root for full license information. | ||
// </copyright> | ||
|
||
namespace MUnique.OpenMU.DataModel.Configuration; | ||
|
||
using MUnique.OpenMU.Annotations; | ||
|
||
/// <summary> | ||
/// Settings for area skills. | ||
/// </summary> | ||
[Cloneable] | ||
public partial class AreaSkillSettings | ||
{ | ||
/// <summary> | ||
/// Gets or sets a value indicating whether to use a frustum to filter potential targets. | ||
/// </summary> | ||
public bool UseFrustumFilter { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the width of the frustum at the start. | ||
/// </summary> | ||
public float FrustumStartWidth { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the width of the frustum at the end. | ||
/// </summary> | ||
public float FrustumEndWidth { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the distance. | ||
/// </summary> | ||
public float FrustumDistance { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether to consider the target area coordinate to filter potential targets. | ||
/// </summary> | ||
public bool UseTargetAreaFilter { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the target area diameter. | ||
/// </summary> | ||
public float TargetAreaDiameter { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether to use deferred hits, | ||
/// for skills which take a while to visually arrive at the target. | ||
/// </summary> | ||
public bool UseDeferredHits { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the delay per one distance, when <see cref="UseDeferredHits"/> is active. | ||
/// </summary> | ||
public TimeSpan DelayPerOneDistance { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the delay between hits. | ||
/// </summary> | ||
public TimeSpan DelayBetweenHits { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the minimum number of hits per target. | ||
/// </summary> | ||
public int MinimumNumberOfHitsPerTarget { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the maximum number of hits per target. | ||
/// </summary> | ||
public int MaximumNumberOfHitsPerTarget { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the maximum number of hits per attack. | ||
/// </summary> | ||
public int MaximumNumberOfHitsPerAttack { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the hit chance per distance multiplier. | ||
/// E.g. when set to 0.9 and the target is 5 steps away, | ||
/// the chance to hit is 5^0.9 = 0.59. | ||
/// </summary> | ||
public float HitChancePerDistanceMultiplier { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
src/GameLogic/PlayerActions/Skills/ChaoticDiseierTargetFilterPlugin.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.