From 4466bfaffed9e58a5bf538238a5574ff735a6e16 Mon Sep 17 00:00:00 2001 From: Akashdeep Dhar Date: Sun, 15 Sep 2024 15:31:05 +0530 Subject: [PATCH] Refactor the `arti` primitive codebase Signed-off-by: Akashdeep Dhar --- gi_loadouts/type/arti/{base/__init__.py => base.py} | 0 gi_loadouts/type/arti/ccol.py | 2 +- gi_loadouts/type/arti/fwol.py | 2 +- gi_loadouts/type/arti/gboe.py | 2 +- gi_loadouts/type/arti/pmod.py | 2 +- gi_loadouts/type/arti/sdoe.py | 2 +- gi_loadouts/type/arti/{base => }/stat.py | 0 7 files changed, 5 insertions(+), 5 deletions(-) rename gi_loadouts/type/arti/{base/__init__.py => base.py} (100%) rename gi_loadouts/type/arti/{base => }/stat.py (100%) diff --git a/gi_loadouts/type/arti/base/__init__.py b/gi_loadouts/type/arti/base.py similarity index 100% rename from gi_loadouts/type/arti/base/__init__.py rename to gi_loadouts/type/arti/base.py diff --git a/gi_loadouts/type/arti/ccol.py b/gi_loadouts/type/arti/ccol.py index 2edeab24..8e196dd3 100644 --- a/gi_loadouts/type/arti/ccol.py +++ b/gi_loadouts/type/arti/ccol.py @@ -1,7 +1,7 @@ from typing import Optional from gi_loadouts.type.arti.base import Artifact, MainStatType_CCOL, SecoStat -from gi_loadouts.type.arti.base.stat import ( +from gi_loadouts.type.arti.stat import ( attack_perc, critical_damage_perc, critical_rate_perc, diff --git a/gi_loadouts/type/arti/fwol.py b/gi_loadouts/type/arti/fwol.py index 066a193a..a98fae14 100644 --- a/gi_loadouts/type/arti/fwol.py +++ b/gi_loadouts/type/arti/fwol.py @@ -1,7 +1,7 @@ from typing import Optional from gi_loadouts.type.arti.base import Artifact, MainStatType_FWOL, SecoStat -from gi_loadouts.type.arti.base.stat import health_points +from gi_loadouts.type.arti.stat import health_points class FWOL(Artifact): diff --git a/gi_loadouts/type/arti/gboe.py b/gi_loadouts/type/arti/gboe.py index f4cd6a51..4d382659 100644 --- a/gi_loadouts/type/arti/gboe.py +++ b/gi_loadouts/type/arti/gboe.py @@ -1,7 +1,7 @@ from typing import Optional from gi_loadouts.type.arti.base import Artifact, MainStatType_GBOE, SecoStat -from gi_loadouts.type.arti.base.stat import ( +from gi_loadouts.type.arti.stat import ( attack_perc, damage_bonus_elemental_perc, damage_bonus_physical_perc, diff --git a/gi_loadouts/type/arti/pmod.py b/gi_loadouts/type/arti/pmod.py index bd2c4f4e..eb7c9130 100644 --- a/gi_loadouts/type/arti/pmod.py +++ b/gi_loadouts/type/arti/pmod.py @@ -1,7 +1,7 @@ from typing import Optional from gi_loadouts.type.arti.base import Artifact, MainStatType_PMOD, SecoStat -from gi_loadouts.type.arti.base.stat import attack +from gi_loadouts.type.arti.stat import attack class PMOD(Artifact): diff --git a/gi_loadouts/type/arti/sdoe.py b/gi_loadouts/type/arti/sdoe.py index df63c4ee..4ba068f9 100644 --- a/gi_loadouts/type/arti/sdoe.py +++ b/gi_loadouts/type/arti/sdoe.py @@ -1,7 +1,7 @@ from typing import Optional from gi_loadouts.type.arti.base import Artifact, MainStatType_SDOE, SecoStat -from gi_loadouts.type.arti.base.stat import ( +from gi_loadouts.type.arti.stat import ( attack_perc, defense_perc, elemental_mastery, diff --git a/gi_loadouts/type/arti/base/stat.py b/gi_loadouts/type/arti/stat.py similarity index 100% rename from gi_loadouts/type/arti/base/stat.py rename to gi_loadouts/type/arti/stat.py