Changelog and appease CI

This commit is contained in:
Sam 2023-05-29 21:23:09 -04:00
parent 68181e9b5b
commit dd616f85a9
2 changed files with 6 additions and 5 deletions

View File

@ -801,7 +801,7 @@ pub mod tests {
/// queue has correct total duration
fn test_queueable_buffs_three() {
let mut buff_comp: Buffs = Default::default();
let buff_data = BuffData::new(1.0, Some(Secs(10.0)), None);
let buff_data = BuffData::new(1.0, Some(Secs(10.0)));
let time_a = Time(0.0);
buff_comp.insert(create_test_queueable_buff(buff_data, time_a), time_a);
let time_b = Time(6.0);
@ -832,8 +832,8 @@ pub mod tests {
/// queueable buff is added, delayed buff has correct start time
fn test_queueable_buff_delay_start() {
let mut buff_comp: Buffs = Default::default();
let queued_buff_data = BuffData::new(1.0, Some(Secs(10.0)), Some(Secs(10.0)));
let buff_data = BuffData::new(1.0, Some(Secs(10.0)), None);
let queued_buff_data = BuffData::new(1.0, Some(Secs(10.0))).with_delay(Secs(10.0));
let buff_data = BuffData::new(1.0, Some(Secs(10.0)));
let time_a = Time(0.0);
buff_comp.insert(create_test_queueable_buff(queued_buff_data, time_a), time_a);
let time_b = Time(6.0);
@ -864,8 +864,8 @@ pub mod tests {
/// does not move delayed buff start or end times
fn test_queueable_buff_long_delay() {
let mut buff_comp: Buffs = Default::default();
let queued_buff_data = BuffData::new(1.0, Some(Secs(10.0)), Some(Secs(50.0)));
let buff_data = BuffData::new(1.0, Some(Secs(10.0)), None);
let queued_buff_data = BuffData::new(1.0, Some(Secs(10.0))).with_delay(Secs(50.0));
let buff_data = BuffData::new(1.0, Some(Secs(10.0)));
let time_a = Time(0.0);
buff_comp.insert(create_test_queueable_buff(queued_buff_data, time_a), time_a);
let time_b = Time(10.0);

View File

@ -88,6 +88,7 @@ fn maps_basic_melee() {
damage_effect: None,
multi_target: None,
simultaneous_hits: 1,
combo_gain: 1,
},
ori_modifier: 1.0,
ability_info: empty_ability_info(),