public Skill() : base("spacechase0.Cooking") { Icon = Mod.instance.Helper.Content.Load <Texture2D>("assets/iconA.png"); SkillsPageIcon = Mod.instance.Helper.Content.Load <Texture2D>("assets/iconB.png"); ExperienceCurve = new int[] { 100, 380, 770, 1300, 2150, 3300, 4800, 6900, 10000, 15000 };; ExperienceBarColor = new Microsoft.Xna.Framework.Color(196, 76, 255); // Level 5 ProfessionSellPrice = new GenericProfession(this, "SellPrice"); ProfessionSellPrice.Icon = null; // TODO ProfessionSellPrice.Name = "Gourmet"; ProfessionSellPrice.Description = "+20% sell price"; Professions.Add(ProfessionSellPrice); ProfessionBuffTime = new GenericProfession(this, "BuffTime"); ProfessionBuffTime.Icon = null; // TODO ProfessionBuffTime.Name = "Satisfying"; ProfessionBuffTime.Description = "+25% buff duration once eaten"; Professions.Add(ProfessionBuffTime); ProfessionsForLevels.Add(new ProfessionPair(5, ProfessionSellPrice, ProfessionBuffTime)); // Level 10 - track A ProfessionConservation = new GenericProfession(this, "Conservation"); ProfessionConservation.Icon = null; // TODO ProfessionConservation.Name = "Efficient"; ProfessionConservation.Description = "15% chance to not consume ingredients"; Professions.Add(ProfessionConservation); ProfessionSilver = new GenericProfession(this, "Silver"); ProfessionSilver.Icon = null; // TODO ProfessionSilver.Name = "Professional Chef"; ProfessionSilver.Description = "Home-cooked meals are always at least silver"; Professions.Add(ProfessionSilver); ProfessionsForLevels.Add(new ProfessionPair(10, ProfessionConservation, ProfessionSilver, ProfessionSellPrice)); // Level 10 - track B ProfessionBuffLevel = new GenericProfession(this, "BuffLevel"); ProfessionBuffLevel.Icon = null; // TODO ProfessionBuffLevel.Name = "Intense Flavors"; ProfessionBuffLevel.Description = "Food buffs are one level stronger once eaten\n(+20% for max energy or magnetism)"; Professions.Add(ProfessionBuffLevel); ProfessionBuffPlain = new GenericProfession(this, "BuffPlain"); ProfessionBuffPlain.Icon = null; // TODO ProfessionBuffPlain.Name = "Secret Spices"; ProfessionBuffPlain.Description = "Provides a few random buffs when eating unbuffed food"; Professions.Add(ProfessionBuffPlain); ProfessionsForLevels.Add(new ProfessionPair(10, ProfessionBuffLevel, ProfessionBuffPlain, ProfessionBuffTime)); }
public Skill() : base("spacechase0.Magic") { Icon = Mod.instance.Helper.Content.Load <Texture2D>("assets/interface/magicexpicon.png"); SkillsPageIcon = null; // TODO: Make an icon for this ExperienceCurve = new int[] { 100, 380, 770, 1300, 2150, 3300, 4800, 6900, 10000, 15000 }; ExperienceBarColor = new Microsoft.Xna.Framework.Color(0, 66, 255); // Level 5 ProfessionUpgradePoint1 = new UpgradePointProfession(this, "UpgradePoints1"); ProfessionUpgradePoint1.Icon = null; // TODO ProfessionUpgradePoint1.Name = "Potential"; ProfessionUpgradePoint1.Description = "+2 spell upgrade points"; Professions.Add(ProfessionUpgradePoint1); ProfessionManaRegen1 = new GenericProfession(this, "ManaRegen1"); ProfessionManaRegen1.Icon = null; // TODO ProfessionManaRegen1.Name = "Mana Regen I"; ProfessionManaRegen1.Description = "+0.5 mana regen per level"; Professions.Add(ProfessionManaRegen1); ProfessionsForLevels.Add(new ProfessionPair(5, ProfessionUpgradePoint1, ProfessionManaRegen1)); // Level 10 - track A ProfessionUpgradePoint2 = new UpgradePointProfession(this, "UpgradePoints2"); ProfessionUpgradePoint2.Icon = null; // TODO ProfessionUpgradePoint2.Name = "Prodigy"; ProfessionUpgradePoint2.Description = "+2 spell upgrade points"; Professions.Add(ProfessionUpgradePoint2); ProfessionFifthSpellSlot = new GenericProfession(this, "FifthSpellSlot"); ProfessionFifthSpellSlot.Icon = null; // TODO ProfessionFifthSpellSlot.Name = "Memory"; ProfessionFifthSpellSlot.Description = "Adds a fifth spell per spell set."; Professions.Add(ProfessionFifthSpellSlot); ProfessionsForLevels.Add(new ProfessionPair(10, ProfessionUpgradePoint2, ProfessionFifthSpellSlot, ProfessionUpgradePoint1)); // Level 10 - track B ProfessionManaRegen2 = new GenericProfession(this, "ManaRegen2"); ProfessionManaRegen2.Icon = null; // TODO ProfessionManaRegen2.Name = "Mana Regen II"; ProfessionManaRegen2.Description = "+1 mana regen per level"; Professions.Add(ProfessionManaRegen2); ProfessionManaCap = new ManaCapProfession(this, "ManaCap"); ProfessionManaCap.Icon = null; // TODO ProfessionManaCap.Name = "Mana Reserve"; ProfessionManaCap.Description = "+500 max mana"; Professions.Add(ProfessionManaCap); ProfessionsForLevels.Add(new ProfessionPair(10, ProfessionManaRegen2, ProfessionManaCap, ProfessionManaRegen1)); }
public Skill() : base(Skill.MagicSkillId) { this.Icon = Mod.Instance.Helper.Content.Load <Texture2D>("assets/interface/magicexpicon.png"); this.SkillsPageIcon = null; // TODO: Make an icon for this this.ExperienceCurve = new[] { 100, 380, 770, 1300, 2150, 3300, 4800, 6900, 10000, 15000 }; this.ExperienceBarColor = new Microsoft.Xna.Framework.Color(0, 66, 255); // Level 5 Skill.ProfessionUpgradePoint1 = new UpgradePointProfession(this, "UpgradePoints1") { Icon = null, // TODO Name = "Potential", Description = "+2 spell upgrade points" }; this.Professions.Add(Skill.ProfessionUpgradePoint1); Skill.ProfessionManaRegen1 = new GenericProfession(this, "ManaRegen1") { Icon = null, // TODO Name = "Mana Regen I", Description = "+0.5 mana regen per level" }; this.Professions.Add(Skill.ProfessionManaRegen1); this.ProfessionsForLevels.Add(new ProfessionPair(5, Skill.ProfessionUpgradePoint1, Skill.ProfessionManaRegen1)); // Level 10 - track A Skill.ProfessionUpgradePoint2 = new UpgradePointProfession(this, "UpgradePoints2") { Icon = null, // TODO Name = "Prodigy", Description = "+2 spell upgrade points" }; this.Professions.Add(Skill.ProfessionUpgradePoint2); Skill.ProfessionFifthSpellSlot = new GenericProfession(this, "FifthSpellSlot") { Icon = null, // TODO Name = "Memory", Description = "Adds a fifth spell per spell set." }; this.Professions.Add(Skill.ProfessionFifthSpellSlot); this.ProfessionsForLevels.Add(new ProfessionPair(10, Skill.ProfessionUpgradePoint2, Skill.ProfessionFifthSpellSlot, Skill.ProfessionUpgradePoint1)); // Level 10 - track B Skill.ProfessionManaRegen2 = new GenericProfession(this, "ManaRegen2") { Icon = null, // TODO Name = "Mana Regen II", Description = "+1 mana regen per level" }; this.Professions.Add(Skill.ProfessionManaRegen2); Skill.ProfessionManaCap = new ManaCapProfession(this, "ManaCap") { Icon = null, // TODO Name = "Mana Reserve", Description = "+500 max mana" }; this.Professions.Add(Skill.ProfessionManaCap); this.ProfessionsForLevels.Add(new ProfessionPair(10, Skill.ProfessionManaRegen2, Skill.ProfessionManaCap, Skill.ProfessionManaRegen1)); }