File tree 3 files changed +22
-0
lines changed
3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -543,4 +543,24 @@ pub fn exotic_armor() {
543
543
}
544
544
} ) ,
545
545
) ;
546
+ add_dmr (
547
+ Perks :: WarlordsSigil ,
548
+ Box :: new ( |_input : ModifierResponseInput | -> DamageModifierResponse {
549
+ if _input. value == 0 {
550
+ return DamageModifierResponse :: default ( ) ;
551
+ }
552
+ let melee_buff = match _input. value {
553
+ 1 => 1.55 ,
554
+ 2 => 2.10 ,
555
+ 3 => 2.65 ,
556
+ 4 => 3.2 ,
557
+ 5 => 3.75 ,
558
+ _ => 3.75
559
+ } ;
560
+ DamageModifierResponse {
561
+ melee_dmg_scale : melee_buff,
562
+ ..Default :: default ( )
563
+ }
564
+ } ) ,
565
+ ) ;
546
566
}
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ pub enum Perks {
147
147
TritonVice = 187957397 ,
148
148
GlacialGuard = 185514250 ,
149
149
BurningFists = 384759955 ,
150
+ WarlordsSigil = 2731901709 ,
150
151
151
152
//parts
152
153
ImpactCasing = 3796465595 ,
Original file line number Diff line number Diff line change @@ -423,6 +423,7 @@ fn hash_to_perk_option_data(_hash: u32) -> Option<PerkOptionData> {
423
423
Perks :: Foetracers => Some ( PerkOptionData :: toggle ( ) ) ,
424
424
Perks :: GlacialGuard => Some ( PerkOptionData :: toggle ( ) ) ,
425
425
Perks :: BurningFists => Some ( PerkOptionData :: stacking ( 5 ) ) ,
426
+ Perks :: WarlordsSigil => Some ( PerkOptionData :: stacking ( 5 ) ) ,
426
427
427
428
//misc
428
429
Perks :: UmbralSharpening => Some ( PerkOptionData :: stacking ( 5 ) ) ,
You can’t perform that action at this time.
0 commit comments