将吸血加入治疗

This commit is contained in:
milimoe 2025-04-24 01:28:24 +08:00
parent 1433706013
commit 5a503f8fc6
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E
3 changed files with 4 additions and 6 deletions

View File

@ -53,8 +53,7 @@ namespace Oshima.FunGame.OshimaModules.Skills
if (character == Skill.Character && damageResult != DamageResult.Evaded && character.HP < character.MaxHP)
{
double = * damage;
character.HP += ;
WriteLine($"[ {character} ] 回复了 {实际吸血:0.##} 点生命值!");
HealToTarget(character, character, );
}
}

View File

@ -1,4 +1,5 @@
using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Interface.Entity;
using Milimoe.FunGame.Core.Library.Constant;
namespace Oshima.FunGame.OshimaModules.Skills
@ -61,8 +62,7 @@ namespace Oshima.FunGame.OshimaModules.Skills
if (caster.PrimaryAttribute == PrimaryAttribute.STR)
{
double = * caster.MaxHP;
caster.HP += ;
WriteLine($"[ {caster} ] 回复了 {回复的生命:0.##} 点生命值!");
HealToTarget(caster, caster, );
}
else if (caster.PrimaryAttribute == PrimaryAttribute.INT)
{

View File

@ -33,8 +33,7 @@ namespace Oshima.FunGame.OshimaModules.Skills
if (character == Skill.Character && damageResult != DamageResult.Evaded && character.HP < character.MaxHP)
{
double = 0.4 * damage;
character.HP += ;
WriteLine($"[ {character} ] 回复了 {实际吸血:0.##} 点生命值!");
HealToTarget(character, character, );
}
}