|
@@ -159,6 +159,7 @@ public class Ability : SkillRoot
|
|
|
if (Level > 0)
|
|
|
{
|
|
|
AnnulA();
|
|
|
+ AnnulB();
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -505,7 +506,7 @@ public class Ability : SkillRoot
|
|
|
|
|
|
if (ID == "Ability1")
|
|
|
{
|
|
|
- ManaCenter.Level ++;
|
|
|
+ ManaCenter.Level++;
|
|
|
}
|
|
|
}
|
|
|
);
|
|
@@ -535,6 +536,14 @@ public class Ability : SkillRoot
|
|
|
}
|
|
|
|
|
|
|
|
|
+ public virtual void AnnulB()
|
|
|
+ {
|
|
|
+ for (int i = 0; i < Auxiliary.IntParse(UnlockPos, 0); i++)
|
|
|
+ {
|
|
|
+ ManaGarden.LockSlot();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
public override void AnnulA()
|
|
|
{
|
|
|
ManaCenter.Person -= NewPerson;
|
|
@@ -543,11 +552,6 @@ public class Ability : SkillRoot
|
|
|
ManaCenter.SkillPlus -= NewPlus;
|
|
|
ManaCenter.SkillPersonBuff -= NewPersonBuff;
|
|
|
|
|
|
- for (int i = 0; i < Auxiliary.IntParse(UnlockPos, 0); i++)
|
|
|
- {
|
|
|
- ManaGarden.LockSlot();
|
|
|
- }
|
|
|
-
|
|
|
if (Math.Abs(NewSkillCD) > 0.0005f)
|
|
|
{
|
|
|
for (int i = 0; i < ManaCenter.SkillList.Count; i++)
|