Пример #1
0
 private static void AddReferenceSources(PathfinderContext context)
 {
     context.AddRange(
         new ReferenceSource {
         Name = "Advanced Class Guide"
     },
         new ReferenceSource {
         Name = "Advanced Class Origins"
     },
         new ReferenceSource {
         Name = "Advanced Race Guide"
     },
         new ReferenceSource {
         Name = "Agents Of Evil"
     },
         new ReferenceSource {
         Name = "Andoran"
     },
         new ReferenceSource {
         Name = "Animal Archive"
     },
         new ReferenceSource {
         Name = "AP 102"
     },
         new ReferenceSource {
         Name = "AP 107"
     },
         new ReferenceSource {
         Name = "AP 110"
     },
         new ReferenceSource {
         Name = "AP 113"
     },
         new ReferenceSource {
         Name = "AP 115"
     },
         new ReferenceSource {
         Name = "AP 116"
     },
         new ReferenceSource {
         Name = "AP 29"
     },
         new ReferenceSource {
         Name = "AP 30"
     },
         new ReferenceSource {
         Name = "AP 35"
     },
         new ReferenceSource {
         Name = "AP 42"
     },
         new ReferenceSource {
         Name = "AP 50"
     },
         new ReferenceSource {
         Name = "AP 55"
     },
         new ReferenceSource {
         Name = "AP 56"
     },
         new ReferenceSource {
         Name = "AP 62"
     },
         new ReferenceSource {
         Name = "AP 64"
     },
         new ReferenceSource {
         Name = "AP 65"
     },
         new ReferenceSource {
         Name = "AP 67"
     },
         new ReferenceSource {
         Name = "AP 68"
     },
         new ReferenceSource {
         Name = "AP 69"
     },
         new ReferenceSource {
         Name = "AP 71"
     },
         new ReferenceSource {
         Name = "AP 74"
     },
         new ReferenceSource {
         Name = "AP 77"
     },
         new ReferenceSource {
         Name = "AP 78"
     },
         new ReferenceSource {
         Name = "AP 80"
     },
         new ReferenceSource {
         Name = "AP 81"
     },
         new ReferenceSource {
         Name = "AP 82"
     },
         new ReferenceSource {
         Name = "AP 84"
     },
         new ReferenceSource {
         Name = "AP 86"
     },
         new ReferenceSource {
         Name = "AP 89"
     },
         new ReferenceSource {
         Name = "AP 91"
     },
         new ReferenceSource {
         Name = "AP 93"
     },
         new ReferenceSource {
         Name = "AP 95"
     },
         new ReferenceSource {
         Name = "AP 99"
     },
         new ReferenceSource {
         Name = "APG"
     },
         new ReferenceSource {
         Name = "Arcane Anthology"
     },
         new ReferenceSource {
         Name = "Armor Masters Handbook"
     },
         new ReferenceSource {
         Name = "Black Markets"
     },
         new ReferenceSource {
         Name = "Blood Of Shadows"
     },
         new ReferenceSource {
         Name = "Blood Of The Beast"
     },
         new ReferenceSource {
         Name = "Blood Of The Elements"
     },
         new ReferenceSource {
         Name = "Blood Of The Moon"
     },
         new ReferenceSource {
         Name = "Blood Of The Night"
     },
         new ReferenceSource {
         Name = "Book of the Damned V1"
     },
         new ReferenceSource {
         Name = "Book of the Damned V2"
     },
         new ReferenceSource {
         Name = "Champions Of Balance"
     },
         new ReferenceSource {
         Name = "Champions Of Corruption"
     },
         new ReferenceSource {
         Name = "Champions Of Purity"
     },
         new ReferenceSource {
         Name = "Cheliax Empire Of Devils"
     },
         new ReferenceSource {
         Name = "Chronicle Of The Righteous"
     },
         new ReferenceSource {
         Name = "Classic Treasures"
     },
         new ReferenceSource {
         Name = "Cohorts & Companions"
     },
         new ReferenceSource {
         Name = "Condition Cards"
     },
         new ReferenceSource {
         Name = "Curse Of The Crimson Throne Chapter Appendix"
     },
         new ReferenceSource {
         Name = "Demon Hunter's Handbook"
     },
         new ReferenceSource {
         Name = "Demons Revisited"
     },
         new ReferenceSource {
         Name = "Dirty Tactics Toolbox"
     },
         new ReferenceSource {
         Name = "Divine Anthology"
     },
         new ReferenceSource {
         Name = "Dragon Empires Primer"
     },
         new ReferenceSource {
         Name = "Dragonslayer's Handbook"
     },
         new ReferenceSource {
         Name = "Dungeoneers Handbook"
     },
         new ReferenceSource {
         Name = "Dungeons Of Golarion"
     },
         new ReferenceSource {
         Name = "Dwarves of Golarion"
     },
         new ReferenceSource {
         Name = "Faction Guide"
     },
         new ReferenceSource {
         Name = "Faiths & Philosophies"
     },
         new ReferenceSource {
         Name = "Faiths Of Corruption"
     },
         new ReferenceSource {
         Name = "Faiths Of Purity"
     },
         new ReferenceSource {
         Name = "Familiar Folio"
     },
         new ReferenceSource {
         Name = "Giant Hunters Handbook"
     },
         new ReferenceSource {
         Name = "Gnomes Of Golarion"
     },
         new ReferenceSource {
         Name = "Goblins Of Golarion"
     },
         new ReferenceSource {
         Name = "Haunted Heroes Handbook"
     },
         new ReferenceSource {
         Name = "Healer's Handbook"
     },
         new ReferenceSource {
         Name = "Heroes Of The High Court"
     },
         new ReferenceSource {
         Name = "Heroes Of The Streets"
     },
         new ReferenceSource {
         Name = "Heroes Of The Wild"
     },
         new ReferenceSource {
         Name = "Horror Adventures"
     },
         new ReferenceSource {
         Name = "Horsemen Of The Apocalypse"
     },
         new ReferenceSource {
         Name = "Humans Of Golarion"
     },
         new ReferenceSource {
         Name = "Inner Sea Gods"
     },
         new ReferenceSource {
         Name = "Inner Sea Intrigue"
     },
         new ReferenceSource {
         Name = "Inner Sea Magic"
     },
         new ReferenceSource {
         Name = "Inner Sea Monster Codex"
     },
         new ReferenceSource {
         Name = "Inner Sea Races"
     },
         new ReferenceSource {
         Name = "Inner Sea Temples"
     },
         new ReferenceSource {
         Name = "Inner Sea World Guide"
     },
         new ReferenceSource {
         Name = "Knights Of The Inner Sea"
     },
         new ReferenceSource {
         Name = "Kobolds Of Golarion"
     },
         new ReferenceSource {
         Name = "Legacy Of Dragons"
     },
         new ReferenceSource {
         Name = "Lost Kingdoms"
     },
         new ReferenceSource {
         Name = "Magic Tactics Toolbox"
     },
         new ReferenceSource {
         Name = "Magical Marketplace"
     },
         new ReferenceSource {
         Name = "Melee Tactics Toolbox"
     },
         new ReferenceSource {
         Name = "Monster Codex"
     },
         new ReferenceSource {
         Name = "Monster Hunter's Handbook"
     },
         new ReferenceSource {
         Name = "Monster Summoner's Handbook"
     },
         new ReferenceSource {
         Name = "Mythic Adventures"
     },
         new ReferenceSource {
         Name = "Mythic Origins"
     },
         new ReferenceSource {
         Name = "Occult Adventures"
     },
         new ReferenceSource {
         Name = "Occult Mysteries"
     },
         new ReferenceSource {
         Name = "Occult Origins"
     },
         new ReferenceSource {
         Name = "Occult Realms"
     },
         new ReferenceSource {
         Name = "Orcs of Golarion"
     },
         new ReferenceSource {
         Name = "Osirion, Legacy Of Pharaohs"
     },
         new ReferenceSource {
         Name = "Paizo Blog"
     },
         new ReferenceSource {
         Name = "Path Of The Hellknight"
     },
         new ReferenceSource {
         Name = "Pathfinder Society Field Guide"
     },
         new ReferenceSource {
         Name = "Pathfinder Society Primer"
     },
         new ReferenceSource {
         Name = "Paths Of The Righteous"
     },
         new ReferenceSource {
         Name = "People Of The North"
     },
         new ReferenceSource {
         Name = "People Of The River"
     },
         new ReferenceSource {
         Name = "People Of The Sands"
     },
         new ReferenceSource {
         Name = "People Of The Stars"
     },
         new ReferenceSource {
         Name = "PFRPG Core"
     },
         new ReferenceSource {
         Name = "PFS S3 - 09"
     },
         new ReferenceSource {
         Name = "Pirates Of The Inner Sea"
     },
         new ReferenceSource {
         Name = "Planes Of Power"
     },
         new ReferenceSource {
         Name = "Psychic Anthology"
     },
         new ReferenceSource {
         Name = "Qadira Jewel Of The East"
     },
         new ReferenceSource {
         Name = "Quests and Campaigns"
     },
         new ReferenceSource {
         Name = "Ranged Tactics Toolbox"
     },
         new ReferenceSource {
         Name = "Rival Guide"
     },
         new ReferenceSource {
         Name = "RotRL - AE - Appendix"
     },
         new ReferenceSource {
         Name = "Sargava"
     },
         new ReferenceSource {
         Name = "Seekers of Secrets"
     },
         new ReferenceSource {
         Name = "Spymaster's Handbook"
     },
         new ReferenceSource {
         Name = "Technology Guide"
     },
         new ReferenceSource {
         Name = "The Dragon's Demand"
     },
         new ReferenceSource {
         Name = "The First World Realm Of The Fey"
     },
         new ReferenceSource {
         Name = "The HarrowHandbook"
     },
         new ReferenceSource {
         Name = "Ultimate Combat"
     },
         new ReferenceSource {
         Name = "Ultimate Intrigue"
     },
         new ReferenceSource {
         Name = "Ultimate Magic"
     },
         new ReferenceSource {
         Name = "Undead Slayer's Handbook"
     },
         new ReferenceSource {
         Name = "Villain Codex"
     }
         );
 }
Пример #2
0
        public Character UpdateCharacter(int id, Character update)
        {
            using var db = new PathfinderContext();
            Character character = db.Characters.Find(id);

            if (character == null)
            {
                return(null);
            }

            Character _character = GetCharacter(id);


            /*TODO: Change relevant fields here
             * Has to be done by changing individual fields.
             */
            character.Name       = update.Name;
            character.Alignment  = update.Alignment;
            character.Gender     = update.Gender;
            character.Age        = update.Age;
            character.Deity      = update.Deity;
            character.Homeland   = update.Homeland;
            character.Height     = update.Height;
            character.Weight     = update.Weight;
            character.Hair       = update.Hair;
            character.Eyes       = update.Eyes;
            character.Experience = update.Experience;

            character.Strength.BaseScore      = update.Strength.BaseScore;
            character.Strength.TempScore      = update.Strength.TempScore;
            character.Strength.RacialModifier = update.Strength.RacialModifier;

            character.Dexterity.BaseScore      = update.Dexterity.BaseScore;
            character.Dexterity.TempScore      = update.Dexterity.TempScore;
            character.Dexterity.RacialModifier = update.Dexterity.RacialModifier;

            character.Constitution.BaseScore      = update.Constitution.BaseScore;
            character.Constitution.TempScore      = update.Constitution.TempScore;
            character.Constitution.RacialModifier = update.Constitution.RacialModifier;

            character.Intelligence.BaseScore      = update.Intelligence.BaseScore;
            character.Intelligence.TempScore      = update.Intelligence.TempScore;
            character.Intelligence.RacialModifier = update.Intelligence.RacialModifier;

            character.Wisdom.BaseScore      = update.Wisdom.BaseScore;
            character.Wisdom.TempScore      = update.Wisdom.TempScore;
            character.Wisdom.RacialModifier = update.Wisdom.RacialModifier;

            character.Charisma.BaseScore      = update.Charisma.BaseScore;
            character.Charisma.TempScore      = update.Charisma.TempScore;
            character.Charisma.RacialModifier = update.Charisma.RacialModifier;

            character.InitiativeMiscModifier = update.InitiativeMiscModifier;

            character.HitPoints = new HitPoints(update.HitPoints.CurrentHitPoints, update.HitPoints.MaxHitPoints, update.HitPoints.NonLethalDamage, update.HitPoints.Wounds);
            character.HitPoints.CurrentHitPoints = update.HitPoints.CurrentHitPoints;
            character.HitPoints.MaxHitPoints     = update.HitPoints.MaxHitPoints;
            character.HitPoints.NonLethalDamage  = update.HitPoints.NonLethalDamage;
            character.HitPoints.Wounds           = update.HitPoints.Wounds;

            character.AC.Armour        = update.AC.Armour;
            character.AC.Shield        = update.AC.Shield;
            character.AC.NaturalArmour = update.AC.NaturalArmour;
            character.AC.Deflection    = update.AC.Deflection;
            character.AC.Misc          = update.AC.Misc;

            character.Speed = new Speed(update.Speed.BaseModifier, update.Speed.BaseTempModifier, update.Speed.Armour, update.Speed.Fly, update.Speed.Swim, update.Speed.Climb, update.Speed.Burrow, update.Speed.Temporary);
            character.Speed.BaseModifier     = update.Speed.BaseModifier;
            character.Speed.BaseTempModifier = update.Speed.BaseTempModifier;
            character.Speed.Armour           = update.Speed.Armour;
            character.Speed.Fly       = update.Speed.Fly;
            character.Speed.Swim      = update.Speed.Swim;
            character.Speed.Climb     = update.Speed.Climb;
            character.Speed.Burrow    = update.Speed.Burrow;
            character.Speed.Temporary = update.Speed.Temporary;

            character.Fortitude           = new Character.Save(update.Fortitude.Magic, update.Fortitude.Misc, update.Fortitude.Temporary, update.Fortitude.Note);
            character.Fortitude.Magic     = update.Fortitude.Magic;
            character.Fortitude.Misc      = update.Fortitude.Misc;
            character.Fortitude.Temporary = update.Fortitude.Temporary;
            character.Fortitude.Note      = update.Fortitude.Note;

            character.Reflex           = new Character.Save(update.Reflex.Magic, update.Reflex.Misc, update.Reflex.Temporary, update.Reflex.Note);
            character.Reflex.Magic     = update.Reflex.Magic;
            character.Reflex.Misc      = update.Reflex.Misc;
            character.Reflex.Temporary = update.Reflex.Temporary;
            character.Reflex.Note      = update.Reflex.Note;

            character.Will           = new Character.Save(update.Will.Magic, update.Will.Misc, update.Will.Temporary, update.Will.Note);
            character.Will.Magic     = update.Will.Magic;
            character.Will.Misc      = update.Will.Misc;
            character.Will.Temporary = update.Will.Temporary;
            character.Will.Note      = update.Will.Note;

            character.CMB      = new CombatManeuverBonus(update.CMB.Misc, -update.CMB.Temp, update.CMB.Note);
            character.CMB.Misc = update.CMB.Misc;
            character.CMB.Temp = update.CMB.Temp;
            character.CMB.Note = update.CMB.Note;

            character.CMD      = new CombatManeuverDefence(update.CMD.Misc, -update.CMD.Temp, update.CMD.Note);
            character.CMD.Misc = update.CMD.Misc;
            character.CMD.Temp = update.CMD.Temp;
            character.CMD.Note = update.CMD.Note;

            character.Resistance      = update.Resistance;
            character.Immunity        = update.Immunity;
            character.SpellResistance = update.SpellResistance;
            character.DamageReduction = update.DamageReduction;

            character.Copper   = update.Copper;
            character.Silver   = update.Silver;
            character.Gold     = update.Gold;
            character.Platinum = update.Platinum;

            character.Languages = update.Languages;

            character.Note = update.Note;


            db.SaveChanges();
            return(character);
        }
Пример #3
0
 private static void AddHeroClasses(PathfinderContext context)
 {
     context.AddRange(
         new HeroClass {
         Name = "Adept"
     },
         new HeroClass {
         Name = "Alchemist"
     },
         new HeroClass {
         Name = "Antipaladin"
     },
         new HeroClass {
         Name = "Bard"
     },
         new HeroClass {
         Name = "Bloodrager"
     },
         new HeroClass {
         Name = "Cleric"
     },
         new HeroClass {
         Name = "Druid"
     },
         new HeroClass {
         Name = "Hunter"
     },
         new HeroClass {
         Name = "Inquisitor"
     },
         new HeroClass {
         Name = "Investigator"
     },
         new HeroClass {
         Name = "Magus"
     },
         new HeroClass {
         Name = "Medium"
     },
         new HeroClass {
         Name = "Mesmerist"
     },
         new HeroClass {
         Name = "Occultist"
     },
         new HeroClass {
         Name = "Oracle"
     },
         new HeroClass {
         Name = "Paladin"
     },
         new HeroClass {
         Name = "Psychic"
     },
         new HeroClass {
         Name = "Ranger"
     },
         new HeroClass {
         Name = "Shaman"
     },
         new HeroClass {
         Name = "Skald"
     },
         new HeroClass {
         Name = "Sorcerer"
     },
         new HeroClass {
         Name = "Spiritualist"
     },
         new HeroClass {
         Name = "Summoner"
     },
         new HeroClass {
         Name = "Witch"
     },
         new HeroClass {
         Name = "Wizard"
     }
         );
 }
Пример #4
0
 private static void AddPatrons(PathfinderContext context)
 {
     context.AddRange(
         new Patron {
         Name = "Agility"
     },
         new Patron {
         Name = "Ancestors"
     },
         new Patron {
         Name = "Animals"
     },
         new Patron {
         Name = "Boundaries"
     },
         new Patron {
         Name = "Death"
     },
         new Patron {
         Name = "Deception"
     },
         new Patron {
         Name = "Devotion"
     },
         new Patron {
         Name = "Dimensions"
     },
         new Patron {
         Name = "Elements"
     },
         new Patron {
         Name = "Enchantment"
     },
         new Patron {
         Name = "Endurance"
     },
         new Patron {
         Name = "Ethereal"
     },
         new Patron {
         Name = "Healing"
     },
         new Patron {
         Name = "Insanity"
     },
         new Patron {
         Name = "Light"
     },
         new Patron {
         Name = "Mind"
     },
         new Patron {
         Name = "Moon"
     },
         new Patron {
         Name = "Mountain"
     },
         new Patron {
         Name = "Occult"
     },
         new Patron {
         Name = "Peace"
     },
         new Patron {
         Name = "Plague"
     },
         new Patron {
         Name = "Plant"
     },
         new Patron {
         Name = "Portents"
     },
         new Patron {
         Name = "Shadow"
     },
         new Patron {
         Name = "Spirits"
     },
         new Patron {
         Name = "Stars"
     },
         new Patron {
         Name = "Storms"
     },
         new Patron {
         Name = "Strength"
     },
         new Patron {
         Name = "Summer"
     },
         new Patron {
         Name = "Thorns"
     },
         new Patron {
         Name = "Time"
     },
         new Patron {
         Name = "Transformation"
     },
         new Patron {
         Name = "Trickery"
     },
         new Patron {
         Name = "Vengeance"
     },
         new Patron {
         Name = "Water"
     },
         new Patron {
         Name = "Winter"
     },
         new Patron {
         Name = "Wisdom"
     }
         );
 }
Пример #5
0
        private static void AddDomains(PathfinderContext context)
        {
            context.AddRange(
                new Domain {
                Name = "Aeon"
            },
                new Domain {
                Name = "Agathion"
            },
                new Domain {
                Name = "Air"
            },
                new Domain {
                Name = "Ambush"
            },
                new Domain {
                Name = "Ancestors"
            },
                new Domain {
                Name = "Animal"
            },
                new Domain {
                Name = "Arcane"
            },
                new Domain {
                Name = "Archon"
            },
                new Domain {
                Name = "Aristocracy"
            },
                new Domain {
                Name = "Artifice"
            },
                new Domain {
                Name = "Ash"
            },
                new Domain {
                Name = "Azata"
            },
                new Domain {
                Name = "Blood"
            },
                new Domain {
                Name = "Cannibalism"
            },
                new Domain {
                Name = "Caves"
            },
                new Domain {
                Name = "Chaos"
            },
                new Domain {
                Name = "Charm"
            },
                new Domain {
                Name = "Cloud"
            },
                new Domain {
                Name = "Community"
            },
                new Domain {
                Name = "Competition"
            },
                new Domain {
                Name = "Construct"
            },
                new Domain {
                Name = "Cooperation"
            },
                new Domain {
                Name = "Corruption"
            },
                new Domain {
                Name = "Daemon"
            },
                new Domain {
                Name = "Darkness"
            },
                new Domain {
                Name = "Dark Tapestry"
            },
                new Domain {
                Name = "Death"
            },
                new Domain {
                Name = "Decay"
            },
                new Domain {
                Name = "Deception"
            },
                new Domain {
                Name = "Defense"
            },
                new Domain {
                Name = "Demodand"
            },
                new Domain {
                Name = "Demon"
            },
                new Domain {
                Name = "Destruction"
            },
                new Domain {
                Name = "Devil"
            },
                new Domain {
                Name = "Divination"
            },
                new Domain {
                Name = "Divine"
            },
                new Domain {
                Name = "Dragon"
            },
                new Domain {
                Name = "Duels"
            },
                new Domain {
                Name = "Earth"
            },
                new Domain {
                Name = "Education"
            },
                new Domain {
                Name = "Espionage"
            },
                new Domain {
                Name = "Evil"
            },
                new Domain {
                Name = "Exploration"
            },
                new Domain {
                Name = "Fate"
            },
                new Domain {
                Name = "Fear"
            },
                new Domain {
                Name = "Feather"
            },
                new Domain {
                Name = "Ferocity"
            },
                new Domain {
                Name = "Fire"
            },
                new Domain {
                Name = "Fist"
            },
                new Domain {
                Name = "Flotsam"
            },
                new Domain {
                Name = "Flowing"
            },
                new Domain {
                Name = "Fortifications"
            },
                new Domain {
                Name = "Freedom"
            },
                new Domain {
                Name = "Friendship"
            },
                new Domain {
                Name = "Fur"
            },
                new Domain {
                Name = "Glory"
            },
                new Domain {
                Name = "Good"
            },
                new Domain {
                Name = "Greed"
            },
                new Domain {
                Name = "Growth"
            },
                new Domain {
                Name = "Hatred"
            },
                new Domain {
                Name = "Healing"
            },
                new Domain {
                Name = "Honor"
            },
                new Domain {
                Name = "Ice"
            },
                new Domain {
                Name = "Imagination"
            },
                new Domain {
                Name = "Industry"
            },
                new Domain {
                Name = "Inevitable"
            },
                new Domain {
                Name = "Innuendo"
            },
                new Domain {
                Name = "Insanity"
            },
                new Domain {
                Name = "Isolation"
            },
                new Domain {
                Name = "Judgment"
            },
                new Domain {
                Name = "Knowledge"
            },
                new Domain {
                Name = "Kyton"
            },
                new Domain {
                Name = "Language"
            },
                new Domain {
                Name = "Law"
            },
                new Domain {
                Name = "Leadership"
            },
                new Domain {
                Name = "Liberation"
            },
                new Domain {
                Name = "Love"
            },
                new Domain {
                Name = "Loyalty"
            },
                new Domain {
                Name = "Luck"
            },
                new Domain {
                Name = "Lust"
            },
                new Domain {
                Name = "Madness"
            },
                new Domain {
                Name = "Magic"
            },
                new Domain {
                Name = "Martyr"
            },
                new Domain {
                Name = "Memory"
            },
                new Domain {
                Name = "Metal"
            },
                new Domain {
                Name = "Moon"
            },
                new Domain {
                Name = "Murder"
            },
                new Domain {
                Name = "Night"
            },
                new Domain {
                Name = "Nigthmare"
            },
                new Domain {
                Name = "Nobility"
            },
                new Domain {
                Name = "Oceans"
            },
                new Domain {
                Name = "Plant"
            },
                new Domain {
                Name = "Protean"
            },
                new Domain {
                Name = "Protection"
            },
                new Domain {
                Name = "Psychopomp"
            },
                new Domain {
                Name = "Purity"
            },
                new Domain {
                Name = "Radiation"
            },
                new Domain {
                Name = "Rage"
            },
                new Domain {
                Name = "Redemption"
            },
                new Domain {
                Name = "Repose"
            },
                new Domain {
                Name = "Restoration"
            },
                new Domain {
                Name = "Resurrection"
            },
                new Domain {
                Name = "Revelation"
            },
                new Domain {
                Name = "Revolution"
            },
                new Domain {
                Name = "Revelry"
            },
                new Domain {
                Name = "Riot"
            },
                new Domain {
                Name = "Rivers"
            },
                new Domain {
                Name = "Ruins"
            },
                new Domain {
                Name = "Rune"
            },
                new Domain {
                Name = "Saurian"
            },
                new Domain {
                Name = "Scalykind"
            },
                new Domain {
                Name = "Seasons"
            },
                new Domain {
                Name = "Smoke"
            },
                new Domain {
                Name = "Solitude"
            },
                new Domain {
                Name = "Souls"
            },
                new Domain {
                Name = "Stars"
            },
                new Domain {
                Name = "Storms"
            },
                new Domain {
                Name = "Strength"
            },
                new Domain {
                Name = "Sun"
            },
                new Domain {
                Name = "Tactics"
            },
                new Domain {
                Name = "Thievery"
            },
                new Domain {
                Name = "Thought"
            },
                new Domain {
                Name = "Toil"
            },
                new Domain {
                Name = "Torture"
            },
                new Domain {
                Name = "Trade"
            },
                new Domain {
                Name = "Trap"
            },
                new Domain {
                Name = "Travel"
            },
                new Domain {
                Name = "Trickery"
            },
                new Domain {
                Name = "Tyranny"
            },
                new Domain {
                Name = "Void"
            },
                new Domain {
                Name = "Vermin"
            },
                new Domain {
                Name = "War"
            },
                new Domain {
                Name = "Water"
            },
                new Domain {
                Name = "Weather"
            },
                new Domain {
                Name = "Wind"
            }

                );
        }
Пример #6
0
 private static void AddBloodlines(PathfinderContext context)
 {
     context.AddRange(
         new HeroClass {
         Name = "Aberrant"
     },
         new HeroClass {
         Name = "Abyssal"
     },
         new HeroClass {
         Name = "Accursed"
     },
         new HeroClass {
         Name = "Aquatic"
     },
         new HeroClass {
         Name = "Arcane"
     },
         new HeroClass {
         Name = "Black Blood"
     },
         new HeroClass {
         Name = "Boreal"
     },
         new HeroClass {
         Name = "Celestial"
     },
         new HeroClass {
         Name = "Daemon"
     },
         new HeroClass {
         Name = "Deep Earth"
     },
         new HeroClass {
         Name = "Destined"
     },
         new HeroClass {
         Name = "Div"
     },
         new HeroClass {
         Name = "Djinni"
     },
         new HeroClass {
         Name = "Draconic"
     },
         new HeroClass {
         Name = "Dreamspun"
     },
         new HeroClass {
         Name = "Efreeti"
     },
         new HeroClass {
         Name = "Elemental"
     },
         new HeroClass {
         Name = "Fey"
     },
         new HeroClass {
         Name = "Ghoul"
     },
         new HeroClass {
         Name = "Harrow"
     },
         new HeroClass {
         Name = "Imperious"
     },
         new HeroClass {
         Name = "Impossible"
     },
         new HeroClass {
         Name = "Infernal"
     },
         new HeroClass {
         Name = "Kobold"
     },
         new HeroClass {
         Name = "Kobold Sorcerer"
     },
         new HeroClass {
         Name = "Kyton"
     },
         new HeroClass {
         Name = "Maestro"
     },
         new HeroClass {
         Name = "Marid"
     },
         new HeroClass {
         Name = "Martyred"
     },
         new HeroClass {
         Name = "Naga"
     },
         new HeroClass {
         Name = "Nanite"
     },
         new HeroClass {
         Name = "Oni"
     },
         new HeroClass {
         Name = "Orc"
     },
         new HeroClass {
         Name = "Pestilence"
     },
         new HeroClass {
         Name = "Possessed"
     },
         new HeroClass {
         Name = "Protean"
     },
         new HeroClass {
         Name = "Rakshasa"
     },
         new HeroClass {
         Name = "Serpentine"
     },
         new HeroClass {
         Name = "Shadow"
     },
         new HeroClass {
         Name = "Shaitan"
     },
         new HeroClass {
         Name = "Starsoul"
     },
         new HeroClass {
         Name = "Stormborn"
     },
         new HeroClass {
         Name = "Undead"
     },
         new HeroClass {
         Name = "Verdant"
     }
         );
 }
Пример #7
0
 private static void AddCastingTimes(PathfinderContext context)
 {
     context.AddRange(
         new CastingTime {
         Name = "1 day"
     },
         new CastingTime {
         Name = "1 full round"
     },
         new CastingTime {
         Name = "1 full-round action"
     },
         new CastingTime {
         Name = "1 full-round action, special see below"
     },
         new CastingTime {
         Name = "1 hour"
     },
         new CastingTime {
         Name = "1 immediate action"
     },
         new CastingTime {
         Name = "1 minute"
     },
         new CastingTime {
         Name = "1 minute per page"
     },
         new CastingTime {
         Name = "1 minute/HD of target"
     },
         new CastingTime {
         Name = "1 minute/lb. created"
     },
         new CastingTime {
         Name = "1 round"
     },
         new CastingTime {
         Name = "1 round; see text"
     },
         new CastingTime {
         Name = "1 standard"
     },
         new CastingTime {
         Name = "1 standard action"
     },
         new CastingTime {
         Name = "1 standard action or immediate action; see text"
     },
         new CastingTime {
         Name = "1 standard action or see text"
     },
         new CastingTime {
         Name = "1 swift action"
     },
         new CastingTime {
         Name = "1 week"
     },
         new CastingTime {
         Name = "10 minute/HD of target"
     },
         new CastingTime {
         Name = "10 minutes"
     },
         new CastingTime {
         Name = "10 minutes (see text)"
     },
         new CastingTime {
         Name = "10 minutes or more; see text"
     },
         new CastingTime {
         Name = "10 minutes, plus length of memory to be altered"
     },
         new CastingTime {
         Name = "10 minutes; see text"
     },
         new CastingTime {
         Name = "12 hours"
     },
         new CastingTime {
         Name = "2 hours"
     },
         new CastingTime {
         Name = "2 minutes"
     },
         new CastingTime {
         Name = "2 rounds"
     },
         new CastingTime {
         Name = "24 hours"
     },
         new CastingTime {
         Name = "3 full rounds"
     },
         new CastingTime {
         Name = "3 rounds"
     },
         new CastingTime {
         Name = "30 minutes"
     },
         new CastingTime {
         Name = "4 hours"
     },
         new CastingTime {
         Name = "6 hours"
     },
         new CastingTime {
         Name = "6 rounds"
     },
         new CastingTime {
         Name = "8 hours"
     },
         new CastingTime {
         Name = "at least 10 minutes; see text"
     },
         new CastingTime {
         Name = "Casting time 1 minute"
     },
         new CastingTime {
         Name = "full-round action"
     },
         new CastingTime {
         Name = "see text"
     },
         new CastingTime {
         Name = "standard action"
     },
         new CastingTime {
         Name = "1 day"
     },
         new CastingTime {
         Name = "1 round"
     },
         new CastingTime {
         Name = "1 day"
     }
         );
 }
Пример #8
0
        //private static void AddShapes(PathfinderContext context)
        //{
        //    context.AddRange(
        //        new School { Name = "Sphere" },
        //        new School { Name = "Cube" },
        //        new School { Name = "Cuboid" },
        //        new School { Name = "Cone" },
        //        new School { Name = "Circle" },
        //        new School { Name = "Cylinder" }
        //    );
        //}

        private static void AddSpellDescriptors(PathfinderContext context)
        {
            context.AddRange(
                new Descriptor {
                Name = "Acid"
            },
                new Descriptor {
                Name = "Air"
            },
                new Descriptor {
                Name = "Chaotic"
            },
                new Descriptor {
                Name = "Cold"
            },
                new Descriptor {
                Name = "Curse"
            },
                new Descriptor {
                Name = "Darkness"
            },
                new Descriptor {
                Name = "Death"
            },
                new Descriptor {
                Name = "Disease"
            },
                new Descriptor {
                Name = "Earth"
            },
                new Descriptor {
                Name = "Electricity"
            },
                new Descriptor {
                Name = "Emotion"
            },
                new Descriptor {
                Name = "Evil"
            },
                new Descriptor {
                Name = "Fear"
            },
                new Descriptor {
                Name = "Figment"
            },
                new Descriptor {
                Name = "Fire"
            },
                new Descriptor {
                Name = "Force"
            },
                new Descriptor {
                Name = "Good"
            },
                new Descriptor {
                Name = "Language-Dependant"
            },
                new Descriptor {
                Name = "Lawful"
            },
                new Descriptor {
                Name = "Light"
            },
                new Descriptor {
                Name = "Mind-affecting"
            },
                new Descriptor {
                Name = "Pain"
            },
                new Descriptor {
                Name = "Poison"
            },
                new Descriptor {
                Name = "Shadow"
            },
                new Descriptor {
                Name = "Sonic"
            },
                new Descriptor {
                Name = "Water"
            }
                );
        }
Пример #9
0
 public SpellsController(PathfinderContext pfContext, IMemoryCache memoryCache)
 {
     _cache         = memoryCache;
     this.pfContext = pfContext;
 }