Files
HeroesStone_PRC8/_module/nss/de1_padush2.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

18 lines
522 B
Plaintext

/////////////////////////////////////
// Dragon's Edge
// by Charly Carlos
/////////////////////////////////////
// Sets the variable to 1, meaning someone (the PC) has won the prize from Padush
// and gives the prize to the winner.
/////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
if (GetLocalInt(OBJECT_SELF, "nPCWonArmW")!= 1)
{
SetLocalInt(OBJECT_SELF, "nPCWonArmW", 1);
CreateItemOnObject("ringofstrength", oPC);
GiveXPToCreature(oPC, 100);
}
}