mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2026-03-06 06:30: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)
|
public override void OnEffectLost(Character character)
|
||||||
{
|
{
|
||||||
foreach (Effect effect in _skill.Effects)
|
_skill.RemoveSkillFromCharacter(character);
|
||||||
{
|
|
||||||
if (character.Effects.Remove(effect))
|
|
||||||
{
|
|
||||||
effect.OnEffectLost(character);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
character.Skills.Remove(_skill);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user