修复BUG

This commit is contained in:
milimoe 2026-01-27 01:28:49 +08:00
parent 3bc521531c
commit bf183e7936
Signed by: milimoe
GPG Key ID: 9554D37E4B8991D0
3 changed files with 5 additions and 3 deletions

View File

@ -154,7 +154,9 @@ namespace Oshima.FunGame.OshimaModules.Skills
Lifesteal = character.Lifesteal, Lifesteal = character.Lifesteal,
ExPDR = character.ExPDR, ExPDR = character.ExPDR,
PhysicalPenetration = character.PhysicalPenetration, PhysicalPenetration = character.PhysicalPenetration,
MagicalPenetration = character.MagicalPenetration MagicalPenetration = character.MagicalPenetration,
ExMOV = character.MOV,
ExATR = character.ATR - 1
}; };
gyb.MDF.AddAllValue(character.MDF.Avg); gyb.MDF.AddAllValue(character.MDF.Avg);
gyb.Recovery(); gyb.Recovery();

View File

@ -41,7 +41,7 @@ namespace Oshima.FunGame.OshimaModules.Skills
foreach (Skill scd in character.Skills) foreach (Skill scd in character.Skills)
{ {
scd.CurrentCD -= 2; scd.CurrentCD -= 2;
if (scd.CurrentCD < 0) if (scd.CurrentCD <= 0)
{ {
scd.CurrentCD = 0; scd.CurrentCD = 0;
scd.Enable = true; scd.Enable = true;

View File

@ -77,7 +77,7 @@ namespace Oshima.FunGame.OshimaModules.Skills
foreach (Skill s in Skill.Character.Skills) foreach (Skill s in Skill.Character.Skills)
{ {
s.CurrentCD -= s.CD * .; s.CurrentCD -= s.CD * .;
if (s.CurrentCD < 0) if (s.CurrentCD <= 0)
{ {
s.CurrentCD = 0; s.CurrentCD = 0;
s.Enable = true; s.Enable = true;