mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2026-03-05 22:20:26 +00:00
移除施法失败的技能
This commit is contained in:
parent
e58613870e
commit
4c01320b7a
@ -1686,6 +1686,7 @@ namespace Milimoe.FunGame.Core.Model
|
|||||||
{
|
{
|
||||||
WriteLine($"[ {character} ] 想要释放 [ {skill.Name} ],但是没有目标!");
|
WriteLine($"[ {character} ] 想要释放 [ {skill.Name} ],但是没有目标!");
|
||||||
}
|
}
|
||||||
|
_castingSkills.Remove(character);
|
||||||
WriteLine($"[ {character} ] 放弃释放技能!");
|
WriteLine($"[ {character} ] 放弃释放技能!");
|
||||||
character.CharacterState = CharacterState.Actionable;
|
character.CharacterState = CharacterState.Actionable;
|
||||||
character.UpdateCharacterState();
|
character.UpdateCharacterState();
|
||||||
@ -1754,6 +1755,7 @@ namespace Milimoe.FunGame.Core.Model
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
_castingSuperSkills.Remove(character);
|
||||||
WriteLine($"[ {character} ] 因能量不足放弃释放爆发技!");
|
WriteLine($"[ {character} ] 因能量不足放弃释放爆发技!");
|
||||||
character.CharacterState = CharacterState.Actionable;
|
character.CharacterState = CharacterState.Actionable;
|
||||||
character.UpdateCharacterState();
|
character.UpdateCharacterState();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user