Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
//::///////////////////////////////////////////////
//:: FileName king_give_3
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 22/11/2003 16:07:04
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
int DoOnce = GetCampaignInt("warlord_head",GetTag(OBJECT_SELF),GetPCSpeaker());
if (DoOnce==1) return;
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 5000);
// Give the speaker some XP
RewardPartyXP(5000, GetPCSpeaker(),FALSE);
object oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "warlordshead"); // Place item Tag here
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
SetCampaignInt("warlord_head",GetTag(OBJECT_SELF),1,GetPCSpeaker());
}