Reverted back to Scarface's Reward system.
Reverted back to Scarface's Reward system. Scaled sf_xp out to 60 levels. Tweaked sc_xp GP rewards for unintelligent creatures & highly intelligent creatures. Full compile. Updated release archive.
This commit is contained in:
@@ -36,8 +36,7 @@ void RndDropGold(object oSelf, object oKiller)
|
||||
}
|
||||
|
||||
|
||||
//:: Take one off GetNumberPartyMembers(), see known bugs
|
||||
int nMembers = GetNumberPartyMembers(oKiller); //- 1;
|
||||
int nMembers = GetNumberPartyMembers(oKiller);
|
||||
|
||||
if (iIntB < 0) { iIntB = 1;}
|
||||
|
||||
@@ -127,8 +126,7 @@ void RndDropGear(object oSelf, object oKiller)
|
||||
{
|
||||
if(DEBUG) {FloatingTextStringOnCreature("Not dropping shield", oKiller, FALSE);}
|
||||
bDropShield = 0;
|
||||
}
|
||||
|
||||
}
|
||||
if (!GetIsObjectValid(oHelm))
|
||||
{
|
||||
if(DEBUG) {FloatingTextStringOnCreature("Not dropping helmet", oKiller, FALSE);}
|
||||
@@ -201,7 +199,7 @@ void RndDropGear(object oSelf, object oKiller)
|
||||
!bDropLeftRing && !bDropRightRing)
|
||||
{
|
||||
if(DEBUG) {FloatingTextStringOnCreature("No loot, running RndDropGold", oKiller, FALSE);}
|
||||
RndDropGold(oSelf, oKiller);
|
||||
//RndDropGold(oSelf, oKiller); //:: Alt liked scarface's better
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,6 +208,9 @@ void main()
|
||||
//:: Declare major variables
|
||||
object oKiller = GetLastKiller();
|
||||
object oSelf = OBJECT_SELF;
|
||||
|
||||
//:: Run GP / XP reward script
|
||||
ExecuteScript("sf_xp", oSelf);
|
||||
|
||||
if(DEBUG)
|
||||
{
|
||||
|
Reference in New Issue
Block a user