Skip to content

Commit

Permalink
Merge pull request #299 from drbergman/fix-read-attack-duration
Browse files Browse the repository at this point in the history
hotfix: read in attack_duration from config
  • Loading branch information
MathCancer authored Oct 11, 2024
2 parents 3620e41 + 64f6f94 commit 01a09af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/PhysiCell_cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2980,6 +2980,10 @@ Cell_Definition* initialize_cell_definition_from_pugixml( pugi::xml_node cd_node
pugi::xml_node node_dr = node.child("attack_damage_rate");
pCI->attack_damage_rate = xml_get_my_double_value(node_dr);

// attack_duration
pugi::xml_node node_ad = node.child("attack_duration");
pCI->attack_duration = xml_get_my_double_value(node_ad);

// fusion_rates
pugi::xml_node node_fr = node.child( "fusion_rates");
if( node_fr )
Expand Down

0 comments on commit 01a09af

Please sign in to comment.