f4c981ab36
Fixes JSON initializer and tests.
2020-09-26 23:10:24 -07:00
57bf1f2e3a
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
b2eed1ffc7
Adds HP to monster card.
2020-09-25 03:52:44 -07:00
82e5545904
Adds HP related fields to core data.
...
Implements hitDieForSize and hitPointsDescription in Monster.
Adds tests.
2020-09-20 03:21:34 -07:00
88927c9ddc
Adds shieldBonus to Monster entity.
...
Adds tests for shieldBonus.
2020-09-15 20:00:15 -07:00
e309e15af4
Adds armorName to Monster entity.
...
Adds tests for armorName.
2020-09-15 20:00:15 -07:00
d66e5140e7
Adds charismaScore and charismaModifier to Monster.
...
Adds tests for charismaScore and charismaModifier.
2020-09-15 20:00:15 -07:00
efaf492e41
Adds wisdomScore and wisdomModifier to Monster.
...
Adds tests for wisdomScore and wisdomModifier.
2020-09-15 20:00:15 -07:00
dc8299ade6
Adds intelligenceScore and intelligenceModifier to Monster.
...
Adds tests for intelligenceScore and intelligenceModifier.
2020-09-15 20:00:15 -07:00
aca029955e
Adds constitutionScore and constitutionModifier to Monster.
...
Adds tests for constitutionScore and constitutionModifier.
2020-09-15 20:00:15 -07:00
58ce77e4df
Adds dexterityScore and dexterityModifier to Monster.
...
Adds tests for dexterityScore and dexterityModifier.
2020-09-15 20:00:14 -07:00
c14b10a032
Adds strengthScore and strengthModifier to Monster.
...
Adds tests for strengthScore and strengthModifier.
2020-09-15 20:00:14 -07:00
52a7ba871a
Adds abilityModifierForScore and tests.
2020-09-15 19:58:58 -07:00
2aaca29741
Adds alignment to monsters.
...
Adds tests for editing alignment on monsters.
Adds tests for monster meta text when alignment is set.
2020-09-12 17:39:07 -07:00
7643b98c01
Adds subtype to monster.
...
Adds EditMonsterViewController tests for editing subtype.
Adds tests for meta property of Monster.
2020-09-12 17:16:36 -07:00
91df63802a
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
9396502b3d
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
fa553a447a
Fixes tests.
...
Adds CoreData codegen categories to tests.
Updates initializers to pass coredata contexts.
2020-09-12 02:06:25 -07:00
1342c55a1f
Adds name to Monster detail view.
...
Adds json initializers for Monster.
2020-09-06 17:33:58 -07:00