forked from SoDOff-Project/sodoff
fix Paralyzing Dreadfall Axe Blueprint
This commit is contained in:
parent
99ea6768f7
commit
cba1464079
@ -1874,6 +1874,8 @@ public class ContentController : Controller {
|
|||||||
|
|
||||||
itemService.CheckAndOpenBox((int)(output.ItemID), gender, out int newItemId, out int quantity);
|
itemService.CheckAndOpenBox((int)(output.ItemID), gender, out int newItemId, out int quantity);
|
||||||
for (int i=0; i<quantity; ++i) {
|
for (int i=0; i<quantity; ++i) {
|
||||||
|
if (output.Tier is null)
|
||||||
|
throw new Exception($"Blueprint {blueprintItem.ItemID} hasn't output tier. Fix item definition: <bp> -> <OUT> -> <T>");
|
||||||
resItemList.Add(
|
resItemList.Add(
|
||||||
inventoryService.AddBattleItemToInventory(viking, newItemId, (int)output.Tier)
|
inventoryService.AddBattleItemToInventory(viking, newItemId, (int)output.Tier)
|
||||||
);
|
);
|
||||||
|
@ -105024,8 +105024,8 @@ Cool down .5 seconds</d>
|
|||||||
<BPSID>27</BPSID>
|
<BPSID>27</BPSID>
|
||||||
<IID>15197</IID>
|
<IID>15197</IID>
|
||||||
<CID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
|
<CID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
|
||||||
<IR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
|
<IR>4</IR>
|
||||||
<T xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
|
<T>3</T>
|
||||||
<QTY>1</QTY>
|
<QTY>1</QTY>
|
||||||
</OUT>
|
</OUT>
|
||||||
</bp>
|
</bp>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user