|
@@ -30,7 +30,8 @@ public class Ability : SkillRoot
|
|
|
protected Current UpgradeCur;
|
|
|
protected Current UnlockAheadCur;
|
|
|
|
|
|
- protected bool Article;
|
|
|
+ protected bool ValidSlot;
|
|
|
+ protected bool ValidAnim;
|
|
|
protected string Desc;
|
|
|
protected string Label;
|
|
|
protected string Anim;
|
|
@@ -330,9 +331,9 @@ public class Ability : SkillRoot
|
|
|
|
|
|
protected void UseConti()
|
|
|
{
|
|
|
- if (Article == false)
|
|
|
+ if (ValidAnim == false)
|
|
|
{
|
|
|
- Article = true;
|
|
|
+ ValidAnim = true;
|
|
|
|
|
|
if (!string.IsNullOrEmpty(Anim))
|
|
|
{
|
|
@@ -342,17 +343,22 @@ public class Ability : SkillRoot
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (Name == "花园")
|
|
|
+ if (ValidSlot == false)
|
|
|
{
|
|
|
- ManaData.Person += NewPerson;
|
|
|
- ManaData.CoinPerson += NewCoinPerson;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- ManaData.SkillPerson += NewPerson;
|
|
|
- ManaData.SkillCoinPerson += NewCoinPerson;
|
|
|
+ ValidSlot = true;
|
|
|
+
|
|
|
+ if (!string.IsNullOrEmpty(UnlockPos))
|
|
|
+ {
|
|
|
+ for (int i = 0; i < int.Parse(UnlockPos); i++)
|
|
|
+ {
|
|
|
+ ManaGarden.UnlockSlot();
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+ ManaData.Person += NewPerson;
|
|
|
+ ManaData.CoinPerson += NewCoinPerson;
|
|
|
+
|
|
|
ManaData.SkillPlus += NewPlus;
|
|
|
ManaData.SkillPersonBuff += NewPersonBuff;
|
|
|
|