ohh i guess i can fix it for ya but just do as im telling ya
first go to character.cs file and scroll down or hit CTRL + F and look for
public void UseItem(Item I)
under that code you'll see the moon box code and also the FU mess that says {not aeed yet for opening only for promotion }
replace that code with this one this code is for the random items from the moon box so if you wanna add more items feel free to edit the code an add whatever you like to it
Quote:
}
if (I.DBInfo.Name == "MoonBox")
{
Random R = new Random();
int Nr = R.Next(1, 6);
if (Nr == 1)
{
AddItem(150097);
RemoveItem(I);
}
if (Nr == 2)
{
AddItem(120087);
RemoveItem(I);
}
if (Nr == 3)
{
AddItem(160097);
RemoveItem(I);
}
if (Nr == 4)
{
AddItem(121087);
RemoveItem(I);
}
if (Nr == 5)
{
AddItem(117047);
RemoveItem(I);
}
}
switch (I.ID)
{
|
or
this code
}
if (I.DBInfo.Name == "MoonBox")
{
CPs += 1000;//or whatever number of cps you want the player to have
RemoveItem(I);
}
switch (I.ID)
{
and about the promote thing go to your NPCDialog.cs and look for the whatever your class god is and look for the promote me control if you dident see something like his
Quote:
if (GC.MyChar.Level >= GC.MyChar.LevReqForPromote)
{
byte Need = 1;
uint ID = GC.MyChar.PromoteItems;
if (ID == 1072031) Need = 5;
if (GC.MyChar.InventoryContains(ID, Need) || ID == 1)
|
under the promote me control let me know an i'll fix the code for ya
have fun