This commit is contained in:
milimoe 2025-06-19 01:34:00 +08:00
parent 8b1a4eef30
commit c76c295917
Signed by: milimoe
GPG Key ID: 9554D37E4B8991D0
2 changed files with 9 additions and 2 deletions

View File

@ -36,7 +36,10 @@ namespace Oshima.FunGame.OshimaModules.Effects.ItemEffects
public override void OnSkillCasted(Character caster, List<Character> targets, Dictionary<string, object> others)
{
HealToTarget(caster, caster, , );
foreach (Character target in targets)
{
HealToTarget(caster, target, , );
}
}
public override void OnSkillCasted(User user, List<Character> targets, Dictionary<string, object> others)

View File

@ -30,7 +30,11 @@ namespace Oshima.FunGame.OshimaModules.Effects.ItemEffects
public override void OnSkillCasted(Character caster, List<Character> targets, Dictionary<string, object> others)
{
caster.MP += ;
foreach (Character target in targets)
{
target.MP += ;
WriteLine($"[ {target} ] 回复了 {实际回复:0.##} 点魔法值!");
}
}
public override void OnSkillCasted(User user, List<Character> targets, Dictionary<string, object> others)