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

@@ -0,0 +1,24 @@
//::///////////////////////////////////////////////
//:: FileName kingreward3
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 1
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
// Give the speaker some XP
RewardPartyXP(5000, GetPCSpeaker());
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "warlordshead");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
SetLocalInt(GetPCSpeaker(), "warlordreward", 1);
}