Skip to content

Commit 3901442

Browse files
committed
Add Banner of War melee damage scalar
1 parent fcf767c commit 3901442

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/perks/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ pub enum Perks {
409409
Tempering = 362132290,
410410
ThreadOfAscent = 4208512216,
411411
Amplified = 880704824,
412+
BannerOfWar = 988980154,
412413

413414
//kinetic exotic
414415
CranialSpike = 1319823571,

src/perks/other_perks.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,4 +563,16 @@ pub fn other_perks() {
563563
}
564564
}),
565565
);
566+
add_dmr(
567+
Perks::BannerOfWar,
568+
Box::new(|_input: ModifierResponseInput| -> DamageModifierResponse {
569+
if _input.value == 0 {
570+
return DamageModifierResponse::default();
571+
}
572+
DamageModifierResponse {
573+
melee_dmg_scale: 1.25,
574+
..Default::default()
575+
}
576+
}),
577+
);
566578
}

src/perks/perk_options_handler.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ fn hash_to_perk_option_data(_hash: u32) -> Option<PerkOptionData> {
369369
Perks::HeatRises => Some(PerkOptionData::toggle()),
370370
Perks::FlowState => Some(PerkOptionData::toggle()),
371371
Perks::ThreadOfAscent => Some(PerkOptionData::toggle()),
372+
Perks::BannerOfWar => Some(PerkOptionData::stacking(4)),
372373
Perks::WellOfRadiance => Some(PerkOptionData::static_()),
373374
Perks::Amplified => Some(PerkOptionData::static_()),
374375
Perks::Radiant => Some(PerkOptionData::static_()),

0 commit comments

Comments
 (0)