Skip to content
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

refactor shield calculations #2

Closed
wants to merge 24 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/creature.h
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and scarf005 committed May 21, 2023
commit 980b8aea3f1f169fd4d615a23e0956adac50cbd5
2 changes: 1 addition & 1 deletion src/creature.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class Creature

// handles interaction of shields and ranged attacks. mutates &dam
virtual float block_ranged_hit( Creature *source, bodypart_id &bp_hit,
damage_instance &dam ) = 0;
damage_instance &dam ) = 0;

// handles armor absorption (including clothing damage etc)
// of damage instance. mutates &dam
Expand Down