Skip to content

Commit

Permalink
Merge pull request #2282 from planetarium/bugfix/vampiric-logging
Browse files Browse the repository at this point in the history
change skillInfo.target to cloned character at Vampiric
  • Loading branch information
sonohoshi authored Dec 6, 2023
2 parents 74ff984 + 89c3365 commit c21adc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib9c/Model/Buff/Vampiric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public BattleStatus.Skill GiveEffect(CharacterBase affectedCharacter, BattleStat
simulatorWaveTurn,
RowData.ElementalType,
RowData.TargetType,
target: target)
target: copyCharacter ? (CharacterBase)affectedCharacter.Clone() : null)
};
return new BattleStatus.Tick(RowData.Id,
target,
Expand All @@ -64,7 +64,7 @@ public ArenaSkill GiveEffectForArena(ArenaCharacter affectedCharacter, ArenaSkil
// Copy new Character with healed.
var infos = new List<ArenaSkill.ArenaSkillInfo>
{
new(affectedCharacter,
new((ArenaCharacter)affectedCharacter.Clone(),
effect,
false,
SkillCategory.Heal,
Expand Down

0 comments on commit c21adc1

Please sign in to comment.