Fixed DivideLoot() bug
Fixed DivideLoot() bug from GetNumberPartyMembers() finally getting fixed. Updated classes.2da Full compile. Updated release archive.
This commit is contained in:
@@ -50,10 +50,7 @@ object oPC = GetLastClosedBy();
|
||||
oTarget = OBJECT_SELF;
|
||||
object oItem = GetFirstItemInInventory(oTarget);
|
||||
|
||||
//Not sure if they fixed the error or not (usually it shoudl be -1)
|
||||
//This function may return 3 if two players are in the party or
|
||||
//it may return 2 if just one player is in the party, needs to be tested
|
||||
int nMembers = GetNumberPartyMembers(oPC);
|
||||
int nMembers = GetNumberPartyMembers(oPC);
|
||||
|
||||
//if not a pc stop
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
@@ -15,7 +15,9 @@
|
||||
//:: for Knat's NBDE
|
||||
|
||||
|
||||
const int DMFI_DB_TYPE =DMFI_DB_TYPE_BIOWARE;
|
||||
//const int DMFI_DB_TYPE = DMFI_DB_TYPE_BIOWARE;
|
||||
const int DMFI_DB_TYPE = 1;
|
||||
|
||||
|
||||
void FlushDMFIPersistentData(string sDBName)
|
||||
{
|
||||
|
@@ -9,7 +9,8 @@
|
||||
//:: for Knat's NBDE
|
||||
|
||||
|
||||
const int DMFI_DB_TYPE = DMFI_DB_TYPE_NBDE;
|
||||
//const int DMFI_DB_TYPE = DMFI_DB_TYPE_NBDE;
|
||||
const int DMFI_DB_TYPE = 2;
|
||||
|
||||
#include "nbde_inc"
|
||||
|
||||
|
@@ -63,7 +63,7 @@ void main()
|
||||
object oPlayer = oPC;
|
||||
object oPP = oPC;
|
||||
string sCDKey = GetPCPublicCDKey(oPC, FALSE);
|
||||
|
||||
|
||||
SetTlkOverrideForMaximumLevel(oPC);
|
||||
|
||||
//IMPORTANT, please set the Nap Time Below!
|
||||
|
@@ -8,7 +8,10 @@
|
||||
|
||||
#include "spawn_timefuncs"
|
||||
#include "spawn_flags"
|
||||
#include "spawn_cfg_flag"
|
||||
#include "spawn_cfg_cusflg"
|
||||
#include "spawn_cfg_loot"
|
||||
#include "spawn_cfg_fxobj"
|
||||
#include "x0_i0_corpses"
|
||||
|
||||
void InitFlags(object oSpawn, string sSpawnName, string sSpawnTag);
|
||||
|
Reference in New Issue
Block a user