May Day Update 2

Scribe Scroll will no longer eat an entire stack of scrolls.
This commit is contained in:
Jaysyn904
2026-05-01 16:42:38 -04:00
parent 5ea23cb0aa
commit a8fa7e9fa6

View File

@@ -594,9 +594,13 @@ object CICraftScribeScroll(object oCreator, int nSpellID)
return OBJECT_INVALID;
}
else
{
DestroyObject(oMat);
}
{
int nStack = GetNumStackedItems(oMat);
if (nStack > 1)
SetItemStackSize(oMat, nStack - 1);
else
DestroyObject(oMat);
}
}
// Resolve class and scroll template