Skip to content

Instantly share code, notes, and snippets.

View Rettend's full-sized avatar

Hegyi Áron Ferenc Rettend

View GitHub Profile
@Rettend
Rettend / Chainable Console
Last active July 25, 2024 15:24
Allows chaining console logs to print them to the same line
import process from 'node:process'
class ChainableConsole extends console.Console {
#chain: this
#isChaining: boolean = false
#isFirstInChain: boolean = true
constructor(stdout: NodeJS.WriteStream, stderr: NodeJS.WriteStream, ignoreErrors?: boolean) {
super(stdout, stderr, ignoreErrors)
this.#chain = this.createChain()
@Rettend
Rettend / League Attack Range Indicator Patch.md
Last active September 5, 2026 00:59
League Attack Range Indicator Patch

Attack range on both mouse buttons

Tested on League 16.17: left click uses Attack Move Click; right click keeps normal movement/direct targeting. Both activate the native range circle without the stats panel. The tradeoff is the round targeting cursor, and A is replaced as the normal Attack Move binding.

1. Settings only: bright circle

Close the League client and game; the Riot launcher can stay open. Save this script as set-range-bindings.ps1. It backs up both config files and edits only the four relevant bindings.

Binding script — PowerShell