Gothic II: Gold Classic

Gothic II: Gold Classic

Gothic 2 Mod Workshop
Finally an easy way to upload and download mods for the original Gothic 2
了解更多
Мод на ману у торговцев
Есть ли мод, что бы у торговцев всегда были бутылки маны в продаже?
< >
正在显示第 1 - 2 条,共 2 条留言
D36 65 7 月 6 日 上午 3:52 
Скопируй этот текст в текстовый файл ManaPotionsForAllTraders.d в папку system/autorun:
func void B_RefreshInvItemToAmount(var C_Npc npc,var int itm,var int neededAmount) { var int currentAmount; currentAmount = Npc_HasItems(npc,itm); if(currentAmount < neededAmount) { CreateInvItems(npc,itm,neededAmount - currentAmount); }; }; test(B_GiveTradeInv) { func void B_GiveTradeInv(var C_Npc slf) { B_GiveTradeInv_Old(slf); if(!Npc_IsDead(slf)) { B_RefreshInvItemToAmount(slf,ItPo_Mana_03,50); }; }; };

У каждого торговца всегда будут 50 эликсиров маны.
引用自 D36
Скопируй этот текст в текстовый файл ManaPotionsForAllTraders.d в папку system/autorun:
func void B_RefreshInvItemToAmount(var C_Npc npc,var int itm,var int neededAmount) { var int currentAmount; currentAmount = Npc_HasItems(npc,itm); if(currentAmount < neededAmount) { CreateInvItems(npc,itm,neededAmount - currentAmount); }; }; test(B_GiveTradeInv) { func void B_GiveTradeInv(var C_Npc slf) { B_GiveTradeInv_Old(slf); if(!Npc_IsDead(slf)) { B_RefreshInvItemToAmount(slf,ItPo_Mana_03,50); }; }; };

У каждого торговца всегда будут 50 эликсиров маны.
Ого, спасибо тебе, добрый человек.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50