From 64f6f942b7919a14002f3accf60ab68b1dcef5fa Mon Sep 17 00:00:00 2001 From: Daniel Bergman Date: Sun, 22 Sep 2024 14:37:52 -0400 Subject: [PATCH] read in attack_duration from config --- core/PhysiCell_cell.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/PhysiCell_cell.cpp b/core/PhysiCell_cell.cpp index f96cf789c..5dbd8861d 100644 --- a/core/PhysiCell_cell.cpp +++ b/core/PhysiCell_cell.cpp @@ -2972,6 +2972,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 )