Bugfixing pass

Bugfixing pass.  Spawn swapovers.  Broom!
This commit is contained in:
Jaysyn904
2021-09-25 14:13:00 -04:00
parent a6cab9f387
commit 6195a6cf23
94 changed files with 23051 additions and 3712 deletions

View File

@@ -2,7 +2,7 @@
//:: Name x2_def_ondeath
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
/* ra_brigand002
Default OnDeath script
*/
//:://////////////////////////////////////////////
@@ -14,8 +14,12 @@ void main()
{
object oNPC = OBJECT_SELF;
// Makes sure armor's droppable flag is set to 0
SetDroppableFlag(GetItemInSlot(INVENTORY_SLOT_CHEST, OBJECT_SELF), 0);
if ((GetResRef(oNPC) == "ra_bandit001") ||
(GetResRef(oNPC) == "ra_brigand001"))
(GetResRef(oNPC) == "ra_brigand001") ||
(GetResRef(oNPC) == "ra_brigand002"))
{
object oArmor = GetItemInSlot(INVENTORY_SLOT_CHEST, oNPC);
object oWeapon = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oNPC);