mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2026-01-19 14:08:22 +00:00
* 支持非指向性技能和指向性技能的扩散 * 添加豁免机制,优化非指向性寻路算法 * 删除战斗框架的全部异步;添加非指向性无目标阻止释放;添加直线宽度;修改扇形算法 * 添加了新的特效钩子;添加了决策点相关统计;添加伤害计算选项;开放新事件和 API
20 lines
735 B
C#
20 lines
735 B
C#
using Milimoe.FunGame.Core.Entity;
|
|
using Milimoe.FunGame.Core.Interface.Entity;
|
|
using Milimoe.FunGame.Core.Library.Common.Addon;
|
|
using Milimoe.FunGame.Core.Library.Constant;
|
|
|
|
namespace Milimoe.FunGame.Core.Model
|
|
{
|
|
public class AIDecision
|
|
{
|
|
public CharacterActionType ActionType { get; set; } = CharacterActionType.EndTurn;
|
|
public Grid? TargetMoveGrid { get; set; } = null;
|
|
public ISkill? SkillToUse { get; set; } = null;
|
|
public Item? ItemToUse { get; set; } = null;
|
|
public List<Character> Targets { get; set; } = [];
|
|
public List<Grid> TargetGrids { get; set; } = [];
|
|
public double Score { get; set; } = 0;
|
|
public bool IsPureMove { get; set; } = false;
|
|
}
|
|
}
|