Skip to content

Commit

Permalink
Fix and refactor gain (temp) hp and take damage
Browse files Browse the repository at this point in the history
  • Loading branch information
julianaarnold committed Jul 18, 2022
1 parent 573ae98 commit 92adac7
Show file tree
Hide file tree
Showing 25 changed files with 13 additions and 126 deletions.
Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ health and damage
gainTemporaryHPInput: aText

self gainTemporaryHP: aText asNumber.
self changed: #temporaryHP.
self closeDialog
self changed: #temporaryHP
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ health and damage
healInput: aText

self heal: aText asNumber.
self changed: #currentHP.
self closeDialog
self changed: #currentHP

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
health and damage
openAddHPDialog

self openInputDialog: #healInput: label: 'Gain HP'
self healInput: (UIManager default request: 'Gain HP')
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
health and damage
openAddTempDialog

self openInputDialog: #gainTemporaryHPInput: label: 'Gain Temp HP'
self gainTemporaryHPInput: (UIManager default request: 'Gain Temp HP')

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
health and damage
openTakeDamageDialog

self openInputDialog: #takeDamageInput: label: 'Take Damage'
self takeDamageInput: (UIManager default request: 'Take damage')
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ health and damage
takeDamageInput: aText

self takeDamage: aText asNumber.
self changed: temporaryHP.
self changed: #currentHP.
self closeDialog
self changed: #temporaryHP.
self changed: #currentHP
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"charismaSaveLabelPressed" : "ML 7/12/2022 18:40",
"charismaSaveMultiplier" : "DS 5/31/2022 19:12",
"charismaSaveMultiplier:" : "DS 5/31/2022 19:35",
"closeDialog" : "JA 7/14/2022 15:25",
"constitution" : "DS 5/22/2022 11:31",
"constitution:" : "DS 5/16/2022 15:35",
"constitutionModifier" : "DS 5/22/2022 11:35",
Expand Down Expand Up @@ -115,11 +114,11 @@
"gainPlatinum:" : "DS 5/16/2022 16:14",
"gainSilver:" : "DS 5/16/2022 16:15",
"gainTemporaryHP:" : "DS 5/16/2022 16:19",
"gainTemporaryHPInput:" : "JA 7/13/2022 19:29",
"gainTemporaryHPInput:" : "JA 7/18/2022 13:29",
"gold" : "DS 5/15/2022 14:43",
"gold:" : "DS 5/15/2022 14:43",
"heal:" : "DS 5/16/2022 16:19",
"healInput:" : "JA 7/13/2022 19:29",
"healInput:" : "JA 7/18/2022 13:29",
"history" : "DS 5/31/2022 18:28",
"historyLabel" : "DS 5/31/2022 18:43",
"historyLabelPressed" : "ML 7/12/2022 18:42",
Expand Down Expand Up @@ -182,11 +181,9 @@
"natureLabelPressed" : "ML 7/12/2022 18:42",
"natureMultiplier" : "DS 5/31/2022 19:14",
"natureMultiplier:" : "DS 5/31/2022 19:31",
"onCloseDialog" : "JA 7/13/2022 19:23",
"openAddHPDialog" : "DS 7/7/2022 19:15",
"openAddTempDialog" : "DS 7/7/2022 19:14",
"openInputDialog:label:" : "JA 7/13/2022 19:01",
"openTakeDamageDialog" : "DS 7/7/2022 19:14",
"openAddHPDialog" : "JA 7/18/2022 13:28",
"openAddTempDialog" : "JA 7/18/2022 13:27",
"openTakeDamageDialog" : "JA 7/18/2022 13:29",
"passivePerception" : "DS 5/31/2022 19:14",
"passivePerceptionLabel" : "DS 5/31/2022 18:45",
"perception" : "DS 5/31/2022 18:29",
Expand Down Expand Up @@ -283,7 +280,7 @@
"survivalMultiplier" : "DS 5/31/2022 19:16",
"survivalMultiplier:" : "DS 5/31/2022 19:33",
"takeDamage:" : "DS 5/16/2022 16:19",
"takeDamageInput:" : "JA 7/13/2022 19:29",
"takeDamageInput:" : "JA 7/18/2022 13:29",
"takeDamageLabel" : "JA 6/29/2022 16:32",
"temporaryHP" : "DS 5/24/2022 20:16",
"temporaryHP:" : "DS 5/15/2022 13:58",
Expand Down

0 comments on commit 92adac7

Please sign in to comment.