Skip to content

Commit

Permalink
v1.5 - 14.08.2022
Browse files Browse the repository at this point in the history
  • Loading branch information
dosinabox committed Aug 14, 2022
1 parent 1f20af4 commit 75100da
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 21 deletions.
2 changes: 1 addition & 1 deletion PrjGothic/AI/Human/C_Human/C_NpcIsEvil.d
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

func int c_npcisevil(var C_NPC slf)
{
if((slf.guild == GIL_DMT) || (slf.guild == GIL_BDT) || (slf.guild == GIL_DRAGON) || (slf.guild == GIL_ORC) || (slf.aivar[AIV_MM_REAL_ID] == ID_WARG) || (slf.aivar[AIV_MM_REAL_ID] == ID_DRAGONSNAPPER) || (slf.guild == GIL_DRACONIAN) || (slf.guild == GIL_DEMON) || (slf.guild == GIL_SUMMONED_DEMON) || c_npcisundead(slf))
if((slf.guild == GIL_DMT) || (slf.guild == GIL_DRAGON) || (slf.guild == GIL_ORC) || (slf.aivar[AIV_MM_REAL_ID] == ID_WARG) || (slf.aivar[AIV_MM_REAL_ID] == ID_DRAGONSNAPPER) || (slf.guild == GIL_DRACONIAN) || (slf.guild == GIL_DEMON) || (slf.guild == GIL_SUMMONED_DEMON) || c_npcisundead(slf))
{
return TRUE;
};
Expand Down
2 changes: 1 addition & 1 deletion PrjGothic/AI/Magic/C_CanNpcCollideWithSpell.d
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func int c_cannpccollidewithspell(var int spelltype)
};
if((spelltype == SPL_PALREPELEVIL) || (spelltype == SPL_PALDESTROYEVIL) || (spelltype == SPL_PALHOLYBOLT))
{
if(c_npcisevil(self) && (self.guild != GIL_BDT))
if(c_npcisevil(self))
{
if(self.guild == GIL_DRAGON)
{
Expand Down
4 changes: 2 additions & 2 deletions PrjGothic/Items/IT_Written.d
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func void useeinhandbuch()
var int ndocid;
if(LERNE_EINHAND == FALSE)
{
self.hitchance[NPC_TALENT_1H] = self.hitchance[NPC_TALENT_1H] + 5;
b_addfightskill(self,NPC_TALENT_1H,5);
Print(PRINT_LEARN1H);
LERNE_EINHAND = TRUE;
Snd_Play("LEVELUP");
Expand Down Expand Up @@ -267,7 +267,7 @@ func void usezweihandbuch()
var int ndocid;
if(LERNE_ZWEIHAND == FALSE)
{
self.hitchance[NPC_TALENT_2H] = self.hitchance[NPC_TALENT_2H] + 5;
b_addfightskill(self,NPC_TALENT_2H,5);
Print(PRINT_LEARN2H);
LERNE_ZWEIHAND = TRUE;
Snd_Play("LEVELUP");
Expand Down
14 changes: 10 additions & 4 deletions PrjGothic/Story/Dialoge/DIA_PAL_281_Fajeth.d
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,12 @@ instance DIA_FAJETH_LEADER(C_INFO)

func int dia_fajeth_leader_condition()
{
if(Npc_KnowsInfo(other,dia_bilgot_knowsleadsnapper) && Npc_IsDead(newmine_leadsnapper) && (MIS_FAJETH_KILL_SNAPPER == LOG_RUNNING))
if(Npc_KnowsInfo(other,dia_bilgot_knowsleadsnapper) && (MIS_FAJETH_KILL_SNAPPER == LOG_RUNNING))
{
return TRUE;
if(Npc_IsDead(newmine_leadsnapper))
{
return TRUE;
};
};
};

Expand Down Expand Up @@ -222,9 +225,12 @@ instance DIA_FAJETH_SNAPPER_KILLED(C_INFO)

func int dia_fajeth_snapper_killed_condition()
{
if((MIS_FAJETH_KILL_SNAPPER == LOG_RUNNING) && (c_snapperdeath() == TRUE))
if(MIS_FAJETH_KILL_SNAPPER == LOG_RUNNING)
{
return TRUE;
if(c_snapperdeath())
{
return TRUE;
};
};
};

Expand Down
2 changes: 1 addition & 1 deletion PrjGothic/Story/Dialoge/DIA_djg_700_sylvio.d
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ func void dia_sylviodjg_whatnext_attack()
Npc_SetRefuseTalk(self,60);
Npc_ExchangeRoutine(self,"Start");
b_startotherroutine(djg_bullco,"Start");
b_logentry(TOPIC_DRAGONHUNTER,"Ýòà ãðÿçíàÿ ñâèíüÿ Ñèëüâèî ñîáèðàëñÿ ïðèñâîèòü ñåáå ìîþ ïîáåäó íàä ëåäÿíûìè äðàêîíàìè. Ìû íåìíîãî ïîâçäîðèëè.");
b_logentry(TOPIC_DRAGONHUNTER,"Ýòà ãðÿçíàÿ ñâèíüÿ Ñèëüâèî ñîáèðàëñÿ ïðèñâîèòü ñåáå ìîþ ïîáåäó íàä ëåäÿíûì äðàêîíîì. Ìû íåìíîãî ïîâçäîðèëè.");
b_attack(self,other,AR_NONE,1);
b_attack(djg_bullco,other,AR_NONE,1);
};
Expand Down
8 changes: 4 additions & 4 deletions PrjGothic/Story/Dialoge/DIA_djg_701_bullco.d
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func int dia_bullcodjg_hallo_condition()

func void dia_bullcodjg_hallo_info()
{
AI_Output(other,self,"DIA_BullcoDJG_HALLO_15_00"); // ÷åì äåëî???
AI_Output(other,self,"DIA_BullcoDJG_HALLO_15_00"); // ÷åì äåëî?
AI_Output(self,other,"DIA_BullcoDJG_HALLO_06_01"); //Çäåñü òàê õîëîäíî! Íå ïîíèìàþ, ïî÷åìó Ñèëüâèî íàñòîÿë, ÷òîáû ìû øëè èìåííî ñþäà.
AI_Output(self,other,"DIA_BullcoDJG_HALLO_06_02"); //Çäåñü åñòü ìíîæåñòâî äðóãèõ ìåñò, ãäå ìîæíî áûëî áû ïîèñêàòü!
AI_StopProcessInfos(self);
Expand All @@ -55,7 +55,7 @@ instance DIA_BULLCODJG_WARTEMAL(C_INFO)
condition = dia_bullcodjg_wartemal_condition;
information = dia_bullcodjg_wartemal_info;
permanent = TRUE;
description = "Âñå â ïîðÿäêå?";
description = "À âñå îñòàëüíîå â ïîðÿäêå?";
};


Expand Down Expand Up @@ -114,7 +114,7 @@ instance DIA_BULLCO_WASNUN(C_INFO)
nr = 8;
condition = dia_bullco_wasnun_condition;
information = dia_bullco_wasnun_info;
description = "×òî òû ïëàíèðóåøü äåëàòü äàëüøå?";
description = "×òî òû áóäåøü äåëàòü òåïåðü, êîãäà Ñèëüâèî ìåðòâ?";
};


Expand Down Expand Up @@ -146,7 +146,7 @@ func void dia_bullco_wasnun_woandere_zuihnen()
AI_Output(other,self,"DIA_Bullco_WASNUN_woandere_zuihnen_15_00"); //Îòâåäè ìåíÿ ê äðóãèì îõîòíèêàì íà äðàêîíîâ.
AI_Output(self,other,"DIA_Bullco_WASNUN_woandere_zuihnen_06_01"); //Ýé, ÿ íå òâîé ëàêåé.
Info_ClearChoices(dia_bullco_wasnun);
Info_AddChoice(dia_bullco_wasnun,"Êàê çíàåøü.",dia_bullco_wasnun_woandere_zuihnen_alleine);
Info_AddChoice(dia_bullco_wasnun,"Êàê çíàåøü. ß ñàì èõ íàéäó.",dia_bullco_wasnun_woandere_zuihnen_alleine);
Info_AddChoice(dia_bullco_wasnun,"Ðàäóéñÿ, åñëè ÿ îñòàâëþ òåáÿ â æèâûõ.",dia_bullco_wasnun_woandere_zuihnen_lebenlassen);
Info_AddChoice(dia_bullco_wasnun,"ß çàïëà÷ó òåáå 50 çîëîòûõ çà ýòî.",dia_bullco_wasnun_woandere_zuihnen_geld);
};
Expand Down
2 changes: 1 addition & 1 deletion PrjGothic/Story/Dialoge/DIA_djg_703_cipher.d
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ instance DIA_CIPHERDJG_WHATNEXT(C_INFO)
condition = dia_cipherdjg_whatnext_condition;
information = dia_cipherdjg_whatnext_info;
permanent = TRUE;
description = "Áîëîòíûé äðàêîí ìåðòâ!";
description = "Áîëîòíûé äðàêîí ìåðòâ! ×òî òû áóäåøü äåëàòü äàëüøå?";
};


Expand Down
2 changes: 1 addition & 1 deletion PrjGothic/Story/Dialoge/DIA_mil_312_wulfgar.d
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func void dia_wulfgar_bonus_info()
AI_Output(self,other,"DIA_Wulfgar_Bonus_04_00"); //Ðàííÿÿ ïòàøêà? ß îáû÷íî îäèí â ýòî âðåìÿ äíÿ. Íî ðàç óæ òû çäåñü, òî ìîæíî ïîòðåíèðîâàòüñÿ.
AI_Output(self,other,"DIA_Wulfgar_Bonus_04_01"); //Áóäü âíèìàòåëüíûì. Òû ìîæåøü îáìàíóòü íåêîòîðûõ ïðîòèâíèêîâ, åñëè óêëîíèøüñÿ îò óäàðà, à çàòåì àòàêóåøü â ïðàâèëüíûé ìîìåíò.
AI_Output(self,other,"DIA_Wulfgar_Bonus_04_02"); //Ïîìíè îá ýòîì â ñâîåì ñëåäóþùåì áîþ!
other.hitchance[NPC_TALENT_1H] = other.hitchance[NPC_TALENT_1H] + 2;
b_addfightskill(other,NPC_TALENT_1H,2);
PrintScreen(PRINT_LEARN1H,-1,-1,FONT_SCREENSMALL,2);
};

Expand Down
2 changes: 1 addition & 1 deletion PrjGothic/Story/Dialoge/DIA_pal_299_sergio.d
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func void dia_sergio_isgaroth_xp()
{
AI_Output(other,self,"DIA_Sergio_Isgaroth_XP_15_00"); //Òû íå ìîã áû ïîäåëèòüñÿ ñâîèì áîåâûì îïûòîì?
AI_Output(self,other,"DIA_Sergio_Isgaroth_XP_04_01"); //Êîãäà òû ñðàæàåøüñÿ, ïîñòàðàéñÿ, ÷òîáû íèêòî íå ìîã àòàêîâàòü òåáÿ ñçàäè.
other.hitchance[NPC_TALENT_2H] = other.hitchance[NPC_TALENT_2H] + 2;
b_addfightskill(other,NPC_TALENT_2H,2);
PrintScreen(PRINT_LEARN2H,-1,-1,FONT_SCREENSMALL,2);
Info_ClearChoices(dia_sergio_isgaroth);
};
Expand Down
2 changes: 1 addition & 1 deletion PrjGothic/Story/Dialoge/DIA_vlk_404_lutero.d
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ instance DIA_LUTERO_GETLOST(C_INFO)
nr = 5;
condition = dia_lutero_getlost_condition;
information = dia_lutero_getlost_info;
permanent = FALSE;
permanent = TRUE;
important = TRUE;
};

Expand Down
7 changes: 5 additions & 2 deletions PrjGothic/Story/Dialoge/DIA_vlk_4110_jergan.d
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,12 @@ instance DIA_JERGAN_LEADER(C_INFO)

func int dia_jergan_leader_condition()
{
if((Npc_GetDistToWP(self,"OW_NEWMINE_04") < 1000) && Npc_IsDead(newmine_leadsnapper) && Npc_KnowsInfo(other,dia_bilgot_knowsleadsnapper))
if((Npc_GetDistToWP(self,"OW_NEWMINE_04") < 1000) && Npc_KnowsInfo(other,dia_bilgot_knowsleadsnapper))
{
return TRUE;
if(Npc_IsDead(newmine_leadsnapper))
{
return TRUE;
};
};
};

Expand Down
2 changes: 1 addition & 1 deletion PrjGothic/Story/NPC/bau_935_bronko.d
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ func void rtn_prestart_935()
func void rtn_start_935()
{
ta_pick_fp(8,0,22,0,"NW_FARM4_FIELD_01");
ta_pick_fp(22,0,8,0,"NW_FARM4_FIELD_01");
ta_sit_campfire(22,0,8,0,"NW_FARM4_REST_02");
};

2 changes: 1 addition & 1 deletion PrjGothic/_Intern/Constants.d
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,6 @@ const int INVCAM_Z_RING_STANDARD = 45;

const int UnionActivated = 0;

const string FIX_VERSION_DATE = "06/08/2022";
const string FIX_VERSION_DATE = "14/08/2022";
const int FIX_VERSION_START = 15;
var int FIX_VERSION_SAVE;
2 changes: 2 additions & 0 deletions src/txt/g2_classic_readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
- тексты получения награды от Сифера и Рауля не накладываются друг на друга;
- добавлено меню подтверждения начала новой игры;
- исправлено соотношение сторон рисунка Бабо;
- исправлены ошибки при повышении навыков с помощью бонусов Вульфгара, Сержио и книг;
- исправлена ошибка в диалогах Лютеро, позволявшая торговать с ним нейтралу и послушнику;

1.4
- квесты 'Стать наемником' и 'Член городской стражи' закроются при вступлении в послушники, а не маги;
Expand Down

0 comments on commit 75100da

Please sign in to comment.