onOtherAttackedSelf target="other" hits all players

bdubyah

Hunter
Version
2.5b32
Platform
Windows
This is a modding related report, but I have a perk using
XML:
<effect_group>
    <requirement name="HasBuff" buff="buffPAset"/>
    <requirement name="ProgressionLevel" progression_name="perkPowerArmorReflect" operation="Equals" value="1"/>
    <triggered_effect trigger="onOtherAttackedSelf" action="ModifyStats" target="other" stat="Health" operation="subtract" value="25"/>
</effect_group>
and for some reason in a P2P game a user that has this perk reported that every time they get hit it damages their allied players as well as the enemy who hit them, even those allies who are really far away. I don't have a way to test myself on a dedicated server but I feel like if it was an issue there I would've gotten a report by now as I've had this perk for a while now. Buffs.xml states that "target="other" is the entity that last attacked you." so I have no idea why it would affect other players who aren't around when the perked player gets hit. So just wondering if this is expected behavior or not. I will probably find another way to accomplish this but figured I'd report it anyway, just to se..
 
Reproduction Steps
Have a perk using onOtherAttackedSelf target="other" and see if it fires correctly in P2P.
Link to Logs
https://pastebin.com/
Link to Screenshot/Video
https://www.youtube.com/
Was having the users test for me and for whatever reason, onOtherDamagedSelf works fine in the same xml as above. Feel like either should be fine, but at least there is a solution. I had a feeling onOtherDamagedSelf would work since there is damage to track which entity to apply the ModifyStats to, where as I guess onOtherAttackedSelf doesn't.
 
Back
Top