Commit Graph

14 Commits

Author SHA1 Message Date
26f92e43f6 Adds constitutionScore and constitutionModifier to Monster.
Adds tests for constitutionScore and constitutionModifier.
2020-09-15 20:00:15 -07:00
d3dd60fb2c Adds dexterityScore and dexterityModifier to Monster.
Adds tests for dexterityScore and dexterityModifier.
2020-09-15 20:00:14 -07:00
91a99a5df3 Adds strengthScore and strengthModifier to Monster.
Adds tests for strengthScore and strengthModifier.
2020-09-15 20:00:14 -07:00
2fd50a9f68 Adds abilityModifierForScore and tests. 2020-09-15 19:58:58 -07:00
513e2c3511 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
0c1deecb5b 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
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
327a640b83 Adds copy constructor to Monster initWithMonster. 2020-09-11 23:30:22 -07:00
15a89785c6 Removes some debug logging statements. 2020-09-07 22:37:57 -07:00
0ff71193d6 Adds name to Monster detail view.
Adds json initializers for Monster.
2020-09-06 17:33:58 -07:00
f12465222f Adds implementation for Skill model.
Adds stubbed out implementation of Monster model. all methods throw exceptions.
2020-09-05 19:04:56 -07:00
3b4808a360 Adds stubbed out model classes Ability, Action, DamageType, Language, Monster, SavingThrow, and Skill. 2020-09-05 18:16:24 -07:00