2025/09/24 Update

Updates from @behindflayer
This commit is contained in:
Jaysyn904
2025-09-24 16:04:25 -04:00
parent 8d91ef12cc
commit 8f76c0e5a5
218 changed files with 1035 additions and 372 deletions

View File

@@ -1,6 +1,21 @@
void main()
{
int nCash = d2(GetHitDice(OBJECT_SELF) /2);
int nHD =(GetHitDice(OBJECT_SELF));
int nCash;
if (nHD <= 10)
{nCash = d2(nHD / 2);}
else if (nHD <= 25)
{nCash = d4(nHD/2);}
else if (nHD <= 40)
{nCash = d6 (nHD/2);}
else if (nHD <= 9999)
{nCash = d10(nHD);}
object oFirstKiller = GetLastKiller();
object oPCArea = GetArea(oFirstKiller);
//object oNextPCArea;
@@ -32,7 +47,7 @@ void main()
// ActionSpeakString("Running Uberloot", TALKVOLUME_SHOUT);
if ((GetHitDice(OBJECT_SELF) <= 10))
if ((nHD <= 10))
{
ExecuteScript ("lootitems", OBJECT_SELF);
int nCheck = d100(1);
@@ -73,7 +88,7 @@ void main()
}
}
else if ((GetHitDice(OBJECT_SELF) <= 15))
else if ((nHD <= 15))
{
ExecuteScript ("lootitems2", OBJECT_SELF);
int nCheck = d100(1);
@@ -145,7 +160,7 @@ void main()
else if ((GetHitDice(OBJECT_SELF) <= 9999))
else if ((nHD <= 30))
{
int nCheck = d100(1);
@@ -235,4 +250,97 @@ void main()
ExecuteScript ("lootgold", OBJECT_SELF);
}
}
else if ((nHD <= 9999))
{
int nCheck = d100(1);
if(nCheck <= 50)
{
ExecuteScript ("lootgold", OBJECT_SELF);
}
else if(nCheck <= 66)
{
ExecuteScript ("lootranged", OBJECT_SELF);
}
else if(nCheck <= 88)
{
ExecuteScript ("lootgems", OBJECT_SELF);
}
else if(nCheck <= 91)
{
ExecuteScript ("lootpotions", OBJECT_SELF);
}
else if(nCheck <= 94)
{
ExecuteScript ("loothealkits", OBJECT_SELF);
}
else if(nCheck <= 97)
{
ExecuteScript ("lootgems", OBJECT_SELF);
}
else
{
ExecuteScript ("lootgold", OBJECT_SELF);
}
int nCheck2 = d100(1);
if(nCheck2 <= 73)
{
}
else if(nCheck2 <= 78)
{
ExecuteScript ("lootranged", OBJECT_SELF);
}
else if(nCheck2 <= 88)
{
ExecuteScript ("lootgems", OBJECT_SELF);
}
else if(nCheck2 <= 91)
{
ExecuteScript ("lootpotions", OBJECT_SELF);
}
else if(nCheck2 <= 94)
{
ExecuteScript ("loothealkits", OBJECT_SELF);
}
else if(nCheck2 <= 97)
{
ExecuteScript ("lootgems", OBJECT_SELF);
}
else
{
ExecuteScript ("lootgold", OBJECT_SELF);
}
int nCheck3 = d100(1);
if(nCheck3 <= 73)
{
ExecuteScript ("lootgold", OBJECT_SELF);
}
else if(nCheck3 <= 78)
{
ExecuteScript ("lootranged", OBJECT_SELF);
}
else if(nCheck3 <= 88)
{
ExecuteScript ("lootgems", OBJECT_SELF);
}
else if(nCheck3 <= 91)
{
ExecuteScript ("lootpotions", OBJECT_SELF);
}
else if(nCheck3 <= 94)
{
ExecuteScript ("loothealkits", OBJECT_SELF);
}
else if(nCheck3 <= 97)
{
ExecuteScript ("lootgems", OBJECT_SELF);
}
else
{
ExecuteScript ("lootgold", OBJECT_SELF);
}
}
}