May Day Update 2
Scribe Scroll will no longer eat an entire stack of scrolls.
This commit is contained in:
@@ -594,9 +594,13 @@ object CICraftScribeScroll(object oCreator, int nSpellID)
|
|||||||
return OBJECT_INVALID;
|
return OBJECT_INVALID;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DestroyObject(oMat);
|
int nStack = GetNumStackedItems(oMat);
|
||||||
}
|
if (nStack > 1)
|
||||||
|
SetItemStackSize(oMat, nStack - 1);
|
||||||
|
else
|
||||||
|
DestroyObject(oMat);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resolve class and scroll template
|
// Resolve class and scroll template
|
||||||
|
|||||||
Reference in New Issue
Block a user