Lord Morphleyes said:
@dcsobral
THIS. It says shotguns get a stun but that doesn't happen
I did some experiments and it does seem like it doesn't happen. Specifically, I turned on dm, pressed F3 to get the stats info, clicked on whatever checkbox it is that turns on buff information, then shot zombies while pressing SHIFT so that the buffs for those zombies would be shown. I never saw a stun buff on them except after they were dead. And, yet, I wasn't basing my comment on the description but on the XML itself. As far as I can tell, it
should have worked. It definitely looks like a bug, possibly a bug affecting other perks. I won't go to the trouble of reporting it myself but if anyone wants to report it and wants help reproducing the steps above, just send me a direct message.
progression.xml:
<effect_group>
<requirement name="ItemHasTags" tags="perkBoomstick"/>
<triggered_effect trigger="onSelfAttackedOther" action="AddBuff" target="other" buff="buffInjuryStunned01Shotgun">
<requirement name="ProgressionLevel" progression_name="perkBoomstick" operation="Equals" value="0"/>
</triggered_effect>
<triggered_effect trigger="onSelfAttackedOther" action="AddBuff" target="other" buff="buffInjuryStunned02Shotgun">
<requirement name="ProgressionLevel" progression_name="perkBoomstick" operation="GTE" value="1"/>
<requirement name="ProgressionLevel" progression_name="perkBoomstick" operation="LTE" value="2"/>
</triggered_effect>
<triggered_effect trigger="onSelfAttackedOther" action="AddBuff" target="other" buff="buffInjuryStunned03Shotgun">
<requirement name="ProgressionLevel" progression_name="perkBoomstick" operation="GTE" value="3"/>
</triggered_effect>
<triggered_effect trigger="onSelfAttackedOther" action="AddBuff" target="other" target_tags="walker" buff="buffInjuryCrippled01">
<requirement name="ProgressionLevel" progression_name="perkBoomstick" operation="Equals" value="5"/>
<requirement name="HitLocation" body_parts="LeftUpperLeg,RightUpperLeg,LeftLowerLeg,RightLowerLeg"/>
</triggered_effect>
<effect_description level="1" desc_key="perkBoomstickRank1Desc" long_desc_key="perkBoomstickRank1LongDesc"/>
<effect_description level="2" desc_key="perkBoomstickRank2Desc" long_desc_key="perkBoomstickRank2LongDesc"/>
<effect_description level="3" desc_key="perkBoomstickRank3Desc" long_desc_key="perkBoomstickRank3LongDesc"/>
<effect_description level="4" desc_key="perkBoomstickRank4Desc" long_desc_key="perkBoomstickRank4LongDesc"/>
<effect_description level="5" desc_key="perkBoomstickRank5Desc" long_desc_key="perkBoomstickRank5LongDesc"/>
</effect_group>
buffs.xml:
Code:
<buff name="buffInjuryStunned01Shotgun" name_key="buff Injury Stunned 01 Shotgun" hidden="true" icon="ui_game_symbol_stunned" icon_color="255,128,0">
<damage_type value="stun"/>
<stack_type value="replace"/>
<duration value="3"/>
<effect_group>
<requirement name="!EntityTagCompare" tags="player"/>
<requirement name="EntityTagCompare" tags="walker"/>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" cvar=".shotgunSuppressCooldown" operation="set" value="1"/>
<triggered_effect trigger="onSelfBuffStart" action="RemoveBuff" buff="buffInjuryStunned01Cooldown"/>
<triggered_effect trigger="onSelfBuffStart" action="AddBuff" buff="buffInjuryStunned01"/>
</effect_group>
</buff>