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 @@ -544,4 +544,24 @@ pub fn exotic_armor() {
544544 }
545545 } ) ,
546546 ) ;
547+ add_dmr (
548+ Perks :: WarlordsSigil ,
549+ Box :: new ( |_input : ModifierResponseInput | -> DamageModifierResponse {
550+ if _input. value == 0 {
551+ return DamageModifierResponse :: default ( ) ;
552+ }
553+ let melee_buff = match _input. value {
554+ 1 => 1.55 ,
555+ 2 => 2.10 ,
556+ 3 => 2.65 ,
557+ 4 => 3.2 ,
558+ 5 => 3.75 ,
559+ _ => 3.75
560+ } ;
561+ DamageModifierResponse {
562+ melee_dmg_scale : melee_buff,
563+ ..Default :: default ( )
564+ }
565+ } ) ,
566+ ) ;
547567}
Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ pub enum Perks {
153153 GlacialGuard = 185514250 ,
154154 DoomFang = 1155472387 ,
155155 BurningFists = 384759955 ,
156+ WarlordsSigil = 2731901709 ,
156157
157158 //parts
158159 ImpactCasing = 3796465595 ,
Original file line number Diff line number Diff line change @@ -450,6 +450,7 @@ fn hash_to_perk_option_data(_hash: u32) -> Option<PerkOptionData> {
450450 Perks :: Judgement => Some ( PerkOptionData :: toggle ( ) ) ,
451451 Perks :: DoomFang => Some ( PerkOptionData :: stacking ( 4 ) ) ,
452452 Perks :: BurningFists => Some ( PerkOptionData :: stacking ( 5 ) ) ,
453+ Perks :: WarlordsSigil => Some ( PerkOptionData :: stacking ( 5 ) ) ,
453454
454455 //misc
455456 Perks :: UmbralSharpening => Some ( PerkOptionData :: stacking ( 5 ) ) ,
You can’t perform that action at this time.
0 commit comments