Quest and script fixes for quest

This commit is contained in:
EpicValor
2023-10-12 22:59:45 -05:00
parent 043b9846f9
commit c3e1040894
43 changed files with 8051 additions and 1465 deletions

View File

@@ -7,7 +7,12 @@
//:://////////////////////////////////////////////
void main()
{
// Give the speaker the items
CreateItemOnObject("innkeepersnote", GetPCSpeaker(), 1);
object oPC = GetPCSpeaker();
object oParty = GetFirstFactionMember(oPC, TRUE);
if (GetIsPC(oParty))
{
// Give the party the items
CreateItemOnObject("innkeepersnote", oParty, 1);
}
oParty = GetNextFactionMember(oPC, TRUE);
}