From 4c9a44d4074238b38436912e30484681cfedcbfe Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Thu, 30 Nov 2023 01:18:29 -0500 Subject: [PATCH 1/3] Add Sigil and the Outlands spells and add Sourcebook item. --- Data/Spells.json | 68 ++++++++++++++++++++++++++++++++++++++ Spellbook/Sourcebook.swift | 7 ++-- 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/Data/Spells.json b/Data/Spells.json index 7e39a8c..d305375 100644 --- a/Data/Spells.json +++ b/Data/Spells.json @@ -16317,5 +16317,73 @@ "page": 176 } ] + }, + { + "casting_time": "1 action", + "classes": [ + "Sorcerer", + "Warlock", + "Wizard" + ], + "components": [ + "V", + "S", + "M" + ], + "concentration": false, + "desc": "You fortify the fabric of the planes in a 30-foot cube you can see within range. Within that area, portals close and can't be opened for the duration. Spells and other effects that allow planar travel or open portals, such as gate or plane shift, fail if used to enter or leave the area. The cube is stationary.", + "duration": "24 hours", + "higher_level": "When you cast this spell using a spell slot of 6th level or higher, the spell lasts until dispelled.", + "id": 526, + "level": 4, + "material": "A broken portal key, which the spell consumes", + "name": "Gate Seal", + "range": "60 feet", + "ritual": false, + "school": "Abjuration", + "subclasses": [ + "Arcane Trickster", + "Eldritch Knight" + ], + "locations": [ + { + "sourcebook": "SO", + "page": 12 + } + ] + }, + { + "casting_time": "1 action", + "classes": [ + "Sorcerer", + "Warlock", + "Wizard" + ], + "components": [ + "V", + "S", + "M" + ], + "concentration": true, + "desc": "For the duration, you sense the presence of portals, even inactive ones, within 30 feet of yourself.\n\nIf you detect a portal in this way, you can use your action to study it. Make a DC 15 ability check using your spellcasting ability. On a successful check, you learn the destination plane of the portal and what portal key it requires, then the spell ends. On a failed check, you learn nothing and can't study that portal again using this spell until you cast it again.\n\nThe spell can penetrate most barriers but is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt.", + "duration": "Up to 1 minute", + "higher_level": "", + "id": 527, + "level": 2, + "material": "A razorvine leaf", + "name": "Warp Sense", + "range": "Self", + "ritual": false, + "school": "Divination", + "subclasses": [ + "Arcane Trickster", + "Eldritch Knight" + ], + "locations": [ + { + "sourcebook": "SO", + "page": 12 + } + ] } ] diff --git a/Spellbook/Sourcebook.swift b/Spellbook/Sourcebook.swift index a5cec80..9e474e8 100644 --- a/Spellbook/Sourcebook.swift +++ b/Spellbook/Sourcebook.swift @@ -1,5 +1,5 @@ enum Sourcebook: Int, NameConstructible { - case PlayersHandbook=0, XanatharsGTE, SwordCoastAG, TashasCOE, AcquisitionsInc, LostLabKwalish, RimeOTFrostmaiden, ExplorersGTW, FizbansTOD, StrixhavenCOC, AstralAG, TalDoreiCSR + case PlayersHandbook=0, XanatharsGTE, SwordCoastAG, TashasCOE, AcquisitionsInc, LostLabKwalish, RimeOTFrostmaiden, ExplorersGTW, FizbansTOD, StrixhavenCOC, AstralAG, TalDoreiCSR, SigilOutlands static let coreSourcebooks = [ PlayersHandbook, XanatharsGTE, TashasCOE ] @@ -31,6 +31,8 @@ enum Sourcebook: Int, NameConstructible { return "Astral Adventurer's Guide" case .TalDoreiCSR: return "Tal'Dorei Campaign Setting Reborn" + case .SigilOutlands: + return "Sigil and the Outlands" } } @@ -46,7 +48,8 @@ enum Sourcebook: Int, NameConstructible { FizbansTOD: "ftd", StrixhavenCOC: "scc", AstralAG: "aag", - TalDoreiCSR: "tdcsr" + TalDoreiCSR: "tdcsr", + SigilOutlands: "so" ] var code: String { From 209635a5c404deb40f0464da29a415b5961bd8a9 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Thu, 30 Nov 2023 01:19:18 -0500 Subject: [PATCH 2/3] Bump ReSwift version. --- .../project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spellbook.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Spellbook.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index b76b964..b4d583b 100644 --- a/Spellbook.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Spellbook.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -13,8 +13,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/ReSwift/ReSwift.git", "state" : { - "revision" : "26d3095bdf55f093501bf3a749bb2718bab671b3", - "version" : "6.0.0" + "revision" : "cb5c3c02f652420ef413dea41e13ac5a76b6c0fd", + "version" : "6.1.1" } }, { From ea7fb1654ebda5986849dae28fb3d8e2612d7670 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Thu, 30 Nov 2023 01:26:32 -0500 Subject: [PATCH 3/3] Change from double to single line breaks in TDCSR and SO spells. --- Data/Spells.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Data/Spells.json b/Data/Spells.json index d305375..fe1646b 100644 --- a/Data/Spells.json +++ b/Data/Spells.json @@ -16265,7 +16265,7 @@ "M" ], "concentration": false, - "desc": "You conjure a deluge of seawater in a 15-foot-radius, 10-foot-tall cylinder centered on a point within range. This water takes the form of a tidal wave, a whirlpool, a waterspout, or another form of your choice. Each creature in the area must succeed on a Strength saving throw against your spell save DC or take 2d8 bludgeoning damage and fall prone. You can choose a number of creatures equal to your spellcasting modifier (minimum of 1) to automatically succeed on this saving throw.\n\nIf you are within the spell's area, as part of the action you use to cast the spell, you can vanish into the deluge and teleport to an unoccupied space that you can see within the spell's area.", + "desc": "You conjure a deluge of seawater in a 15-foot-radius, 10-foot-tall cylinder centered on a point within range. This water takes the form of a tidal wave, a whirlpool, a waterspout, or another form of your choice. Each creature in the area must succeed on a Strength saving throw against your spell save DC or take 2d8 bludgeoning damage and fall prone. You can choose a number of creatures equal to your spellcasting modifier (minimum of 1) to automatically succeed on this saving throw.\nIf you are within the spell's area, as part of the action you use to cast the spell, you can vanish into the deluge and teleport to an unoccupied space that you can see within the spell's area.", "duration": "Instantaneous", "higher_level": "", "id": 524, @@ -16298,7 +16298,7 @@ "M" ], "concentration": true, - "desc": "Wind wraps around your body, tugging at your hair and clothing as your feet lift off the ground. You gain a flying speed of 60 feet. Additionally, you have advantage on ability checks to avoid being grappled, and on saving throws against being restrained or paralyzed.\n\nWhen you are targeted by a spell or attack while this spell is in effect, you can use a reaction to teleport up to 60 feet to an unoccupied space you can see. If this movement takes you out of range of the triggering spell or attack, you are unaffected by it. This spell then ends when you reappear.", + "desc": "Wind wraps around your body, tugging at your hair and clothing as your feet lift off the ground. You gain a flying speed of 60 feet. Additionally, you have advantage on ability checks to avoid being grappled, and on saving throws against being restrained or paralyzed.\nWhen you are targeted by a spell or attack while this spell is in effect, you can use a reaction to teleport up to 60 feet to an unoccupied space you can see. If this movement takes you out of range of the triggering spell or attack, you are unaffected by it. This spell then ends when you reappear.", "duration": "Up to 10 minutes", "higher_level": "", "id": 525, @@ -16365,7 +16365,7 @@ "M" ], "concentration": true, - "desc": "For the duration, you sense the presence of portals, even inactive ones, within 30 feet of yourself.\n\nIf you detect a portal in this way, you can use your action to study it. Make a DC 15 ability check using your spellcasting ability. On a successful check, you learn the destination plane of the portal and what portal key it requires, then the spell ends. On a failed check, you learn nothing and can't study that portal again using this spell until you cast it again.\n\nThe spell can penetrate most barriers but is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt.", + "desc": "For the duration, you sense the presence of portals, even inactive ones, within 30 feet of yourself.\nIf you detect a portal in this way, you can use your action to study it. Make a DC 15 ability check using your spellcasting ability. On a successful check, you learn the destination plane of the portal and what portal key it requires, then the spell ends. On a failed check, you learn nothing and can't study that portal again using this spell until you cast it again.\nThe spell can penetrate most barriers but is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt.", "duration": "Up to 1 minute", "higher_level": "", "id": 527,