mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-12-05 08:09:02 +00:00
不可选中时能给自己放技能
This commit is contained in:
parent
88d6d9a8c9
commit
0a1bb0b2a5
@ -1062,7 +1062,7 @@ namespace Milimoe.FunGame.Core.Model
|
||||
character.CharacterState = CharacterState.Actionable;
|
||||
character.UpdateCharacterState();
|
||||
Skill skill = skillTarget.Skill;
|
||||
List<Character> targets = [.. skillTarget.Targets.Where(c => !c.IsUnselectable)];
|
||||
List<Character> targets = [.. skillTarget.Targets.Where(c => c == character || !c.IsUnselectable)];
|
||||
|
||||
// 判断是否能够释放技能
|
||||
if (targets.Count > 0 && CheckCanCast(character, skill, out double cost))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user