-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block #114
Block #114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why but you seem to like multi-line value assignment, when it's not really necessary.
It follows what we discussed in the issue well, so that works nicely i think. i'll try to think of possible interactions with debuff that could make negative healing for example, as I remember a problem with this, but we might have added a test for it 🤔
assert that health is 100
turned ints to floats
negative check
changed to assign value at the same line as the var
fixed heal
Added remove block on end turn
made floats to ints and also removed bad function
Great job on the block 👍 I don't have anything more to ask, actually that end was more me being picky about the types so we don't get conversions everywhere 😆 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
added block to the game
Related issue(s)
#111
List of changes
Changed Health component to have block
Added a block display to all entities
Added block debug cards
Tests
added some block tests to test_health