From 897ee3e1cd224307fbaa7d8a98a4042b57672654 Mon Sep 17 00:00:00 2001 From: transbitch <> Date: Mon, 18 Sep 2023 22:27:27 -0400 Subject: [PATCH] small changes uwu --- files/helpers/marseyfx/modifiers.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/helpers/marseyfx/modifiers.py b/files/helpers/marseyfx/modifiers.py index bb3412f51..68b3e8d9b 100644 --- a/files/helpers/marseyfx/modifiers.py +++ b/files/helpers/marseyfx/modifiers.py @@ -62,7 +62,7 @@ class Modified: # Using this instead of throwing everything in a string and then parsing it helps # mitigate the risk of XSS attacks - def image_href(self, name: str): + def image(self, name: str): image = self.soup.new_tag( 'img', loading='lazy', @@ -139,12 +139,12 @@ class Modified: def enraged(self): self.underlay(self.soup.new_tag( 'div', - attrs={'class': 'marseyfx-enraged-underlay'} + attrs={'class': 'marseyfx-modifier-enraged-underlay'} )) @heavy @modifier - def corrupted(self): + def highcontrast(self): pass @heavy @@ -176,7 +176,7 @@ class Modified: @modifier def spin(self, speed: NumberLiteralToken): - self.add_style('--marseyfx-spin-speed: ' + speed.value + ';') + self.add_style('--marseyfx-spin-peroid-multiplier: ' + (1/speed.value) + ';') @modifier def triumphs(self, other: GroupToken):