File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 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() {
543543 }
544544 } ) ,
545545 ) ;
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+ ) ;
546566}
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ pub enum Perks {
147147 TritonVice = 187957397 ,
148148 GlacialGuard = 185514250 ,
149149 BurningFists = 384759955 ,
150+ WarlordsSigil = 2731901709 ,
150151
151152 //parts
152153 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> {
423423 Perks :: Foetracers => Some ( PerkOptionData :: toggle ( ) ) ,
424424 Perks :: GlacialGuard => Some ( PerkOptionData :: toggle ( ) ) ,
425425 Perks :: BurningFists => Some ( PerkOptionData :: stacking ( 5 ) ) ,
426+ Perks :: WarlordsSigil => Some ( PerkOptionData :: stacking ( 5 ) ) ,
426427
427428 //misc
428429 Perks :: UmbralSharpening => Some ( PerkOptionData :: stacking ( 5 ) ) ,
You can’t perform that action at this time.
0 commit comments