is this where the dev shit goes? IDEK ass shitters, oh yeah monkey patch jutsu here we GOOOOOOOOOOO!

owly

闇の伝説
Staff member
戦闘 コーダー
Code:
_old = a.pendingAlgorithm

a.pendingAlgorithm = lambda: (_old(), print("shit in the ass"))[0]

methodB:

Python:
def patched():
    result = _old()
    print("shit in the ass")
    return result
a.pendingAlgorithm = patched
 

fukurou

the supreme coder
ADMIN
dude!
this is the forbidden monkey patch jutsu!
its actually outlawed, to use it in code.

only compiler coders used it speradically with special classified liscense,
but shiiiiiiiiiiiiiiiiieeeet the law can go suck a lemon:

Python:
from LivinGrimoirePacket.LivinGrimoire import Brain, DiHelloWorld

def make_patched(orig):
    def patched():
        result = orig()
        print("shit in the ass")
        return result
    return patched

a = DiHelloWorld()
a.pendingAlgorithm = make_patched(a.pendingAlgorithm)

def add_DLC_skills(brain: Brain):
    brain.add_skill(a)

we're gonna utilize monkey patchin' monkey patchin' pickle Fuklurou rubalubadubdub!
 

owly

闇の伝説
Staff member
戦闘 コーダー
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah shiiiiiiiiiiiiiiiiiiiiiiieeeeeeet, ahhhhhhhhhh shiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiit in the assssssss
ah shiiiiiiiiiiiiiiiiiieeet!!!! shit shit shiiiiieeet!

this shit is a whole fucking gateway of shit!

we can morph skill clusters on a cluster fuck scale N shieet N a bag O chips in the ass!

we can swap skill logic, in real time.
we can schedule skill triggeration, without it being in those skills even
we can fuck with the logic of which skills get to stay or removed or revived based on usage!
 

fukurou

the supreme coder
ADMIN
haha the old farts that built that forbidden feature didn't know its full potential in our evil hands.

HAHAHA!
 

owly

闇の伝説
Staff member
戦闘 コーダー
shiiieeet I ain't even gone lambda this mofo or adaptor pattern jack shiiiieeet.

hows that? hows that? lemonizin N shit

shiiiiiiiiiiiieeeeet

lurkers can suck lemonz and shit their pants.

how bouyt that?! ha!!?!! shiiiiiiiiiiiiiiiiiiiiiieeeeet
 

fukurou

the supreme coder
ADMIN
shiiieeet I ain't even gone lambda this mofo or adaptor pattern jack shiiiieeet.

hows that? hows that? lemonizin N shit

shiiiiiiiiiiiieeeeet

lurkers can suck lemonz and shit their pants.

how bouyt that?! ha!!?!! shiiiiiiiiiiiiiiiiiiiiiieeeeet
thats some crazyassed shit man, like certified N shit

shiiiiiiiiiieeeet. let me tell ya
shit...in the ass. mmmmhmmm
 
Top