Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#include "hc_inc"
#include "xp_inc"
void main()
{
int i = 1;
object oDM = GetLastSpeaker ();
float fDistance = 6.0;
object oPC;
while (TRUE)
{
oPC = GetNearestCreature (CREATURE_TYPE_PLAYER_CHAR,
PLAYER_CHAR_IS_PC, oDM, i);
i++;
if (!GetIsObjectValid (oPC))
{
return;
} else if (GetDistanceBetween (oPC, oDM) > fDistance)
{
return;
} else
{
SendMessageToPC (oPC, "Your efforts have been rewarded!");
xp_GiveXPPercentage (oPC, 10.0f);
}
}
}