This patch visually groups the attack tooltips together by starting with an "Attack:" line and then inserts a four-spaces indentation for each individual tooltip, as is already done for the resistance tooltip (D2229/rP24001), to improve readability.
See also D2247 and D2985.
[EDIT] Also merges getSplashDamageTooltip with getAttackTooltip, which saves lines of code.
Before:
After:
Before:
After:
Before:
After: