From 03fcc75c5ab0e991f8b602075f0a9508c6e533c8 Mon Sep 17 00:00:00 2001 From: WinterSolstice8 <60417494+wintersolstice8@users.noreply.github.com> Date: Fri, 24 Jan 2025 19:48:23 -0700 Subject: [PATCH] [core] Use subjob level of /SMN casted avatars Fixes perpetuation cost and jank stats --- src/map/utils/petutils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map/utils/petutils.cpp b/src/map/utils/petutils.cpp index f115df2d43e..9ccf7e0df8d 100644 --- a/src/map/utils/petutils.cpp +++ b/src/map/utils/petutils.cpp @@ -763,7 +763,9 @@ namespace petutils } else if (PMaster->GetSJob() == JOB_SMN) { - PPet->SetMLevel(PMaster->GetSLevel()); + mLvl = PMaster->GetSLevel(); + + PPet->SetMLevel(mLvl); } else { // should never happen