mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2026-03-05 22:20:28 +00:00
Class & SubClass import
This commit is contained in:
parent
0f054839ca
commit
1b54e5228a
@ -37,14 +37,7 @@ namespace Oshima.FunGame.OshimaModules.Effects.PassiveEffects
|
||||
|
||||
public override void OnEffectLost(Character character)
|
||||
{
|
||||
foreach (Effect effect in _skill.Effects)
|
||||
{
|
||||
if (character.Effects.Remove(effect))
|
||||
{
|
||||
effect.OnEffectLost(character);
|
||||
}
|
||||
}
|
||||
character.Skills.Remove(_skill);
|
||||
_skill.RemoveSkillFromCharacter(character);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user