mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-08-02 12:02:56 +00:00
修复BUG
This commit is contained in:
parent
20e9301102
commit
b32aa2a942
@ -88,8 +88,10 @@ namespace Oshima.Core.Utils
|
|||||||
IEnumerable<Skill> magics = Magics.OrderBy(x => Random.Shared.Next()).Take(3);
|
IEnumerable<Skill> magics = Magics.OrderBy(x => Random.Shared.Next()).Take(3);
|
||||||
foreach (Skill magic in magics)
|
foreach (Skill magic in magics)
|
||||||
{
|
{
|
||||||
magic.Level = mlevel;
|
Skill m = magic.Copy();
|
||||||
c.Skills.Add(magic);
|
m.Character = c;
|
||||||
|
m.Level = mlevel;
|
||||||
|
c.Skills.Add(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
Skill 疾风步 = new 疾风步(c)
|
Skill 疾风步 = new 疾风步(c)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user