Commit Graph

16 Commits

Author SHA1 Message Date
137d6f7c43 Started adding skills. 2021-02-13 20:53:38 -08:00
8be1479357 Convertes to Swift and SwiftUI 2021-01-18 00:30:45 -08:00
b79cb36335 Fixes a bug editing a new monster. 2020-10-09 22:04:28 -07:00
757f75657f Adds Saving Throws to the data model and monster editor. 2020-10-03 22:44:15 -07:00
308cb755fe Adds ability scores to monster cards. 2020-09-26 23:06:03 -07:00
828d65ad44 Renames armorName to armorType.
Sets default values for core data fields.
Moves hit dice and hp related fields into the basic info section of the editor.
2020-09-26 17:15:43 -07:00
7bbe86c901 Adds speed properties to Core Data and monster editor. 2020-09-26 01:22:11 -07:00
16aa24150e Adds HP related fields to core data.
Implements hitDieForSize and hitPointsDescription in Monster.
Adds tests.
2020-09-20 03:21:34 -07:00
3e93aa59b4 Adds shieldBonus to Monster entity.
Adds tests for shieldBonus.
2020-09-15 20:00:15 -07:00
bead4f8ee5 Adds otherArmorDescription to Monster entity.
Adds tests for otherArmorDescription.
2020-09-15 20:00:15 -07:00
5aa88932f7 Adds armorName to Monster entity.
Adds tests for armorName.
2020-09-15 20:00:15 -07:00
a6f048cc2d Moves ability scores to Core Data entity. 2020-09-15 20:00:15 -07:00
42ddfbd52f Adds monster type to editor.
Sets all entity attributes for monster to default to empty string instead of null.
Adds test for copyFromMonster.
Makes initWithMonster:andContext call copyFromMonster to ensure they use the same logic to clone the other monster.
2020-09-12 12:52:45 -07:00
ee9994c2c8 Adds meta string to monster cards.
Implements meta method in Monster to return a formatted meta string.
Adds size to edit monster.
Moves monster copy logic to copyFromMonster in the Monster class.
Fixes JSON parsing to set strings to an empty string if they're missing from the json blob.
Makes Monster.size default to an empty string instead of null.
Cleans up some raw strings to use NSLocalizedString instead.
2020-09-12 03:08:10 -07:00
fb6418cc80 Makes Monster a CoreData entity 2020-09-12 00:55:49 -07:00
58b30d59e9 Initial Commit 2020-09-02 16:13:17 -07:00