RBI and runs scored do not factor into the calculation of WAR. It’s a linear weights system: how much is this situation worth in expected run value, and did the player exceed, match, or fall short of that value with his outcome? The player is then credited or debited with the difference. WAR is not designed to take into account the psychological effects on players by other players, situations, etc. It’s designed only to credit or debit the player based on performance against expected run value on each play. Rinse and repeat for 500 or more plate appearances for regulars. In that way, WAR isolates individual performance across the season well.