Mob, area, quest, and script adjustments
This commit is contained in:
@@ -14,23 +14,24 @@ object oParty = GetFirstFactionMember(oPC, TRUE);
|
||||
string sName = GetName(oPC);
|
||||
string sName2 = GetName(oParty);
|
||||
int DoOnce = GetCampaignInt("warlord_head",sName, GetPCSpeaker());
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(oParty, "warlordshead"); // Place item Tag here
|
||||
|
||||
if (GetIsPC(oParty))
|
||||
{
|
||||
SetLocalInt(oParty, "warlord_head", 1);
|
||||
DestroyObject(oItemToTake);
|
||||
}
|
||||
oParty = GetNextFactionMember(oPC, TRUE);
|
||||
|
||||
if (DoOnce==1) return;
|
||||
|
||||
// Give the speaker some XP
|
||||
RewardPartyXP(5000, GetPCSpeaker(),TRUE);
|
||||
// Give the speaker some gold
|
||||
RewardPartyGP(5000, GetPCSpeaker());
|
||||
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(oParty, "warlordshead"); // Place item Tag here
|
||||
|
||||
if (GetIsPC(oParty))
|
||||
{
|
||||
SetCampaignInt("warlord_head",sName2,1,oParty);
|
||||
SetLocalInt(oParty, "warlord_head", 1);
|
||||
DestroyObject(oItemToTake);
|
||||
}
|
||||
oParty = GetNextFactionMember(oPC, TRUE);
|
||||
SetCampaignInt("warlord_head",sName2,1,oParty);
|
||||
oParty = GetNextFactionMember(oPC, TRUE);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user