GiftBox problem

04/26/2014 13:54 raventh1984#1
Hi Elitepvers,

I am having an slight problem with the PropGiftBox.inc file

What i did was making an new Giftbox
GiftBox II_DEFINE_NAME
{
II_SYS_SYS_SCR_PIEPROT 10000 100
II_GEN_MAT_MOONSTONE 10000 50
}

Now when i create the box in the game and i open the box
I only recieve moonstones.

What i need is that those 2 things are guaranteed gifts and anything else i insert into it is lower of chance.

Could someone give me an hint?

With kind regards.
04/26/2014 13:59 Drabur#2
Use propPackItem.inc?
04/26/2014 14:22 raventh1984#3
That doesnt work in combination with the giftbox.
04/26/2014 14:40 Drabur#4
Quote:
GiftBox II_DEFINE_NAME
{
II_SYS_SYS_SCR_PIEPROT 10000 100
II_GEN_MAT_MOONSTONE 10000 50
}
This will not work in giftbox
look at the packitem tut
04/28/2014 12:11 Akihiko Kayaba#5
This work in Giftbox.inc

Quote:
GiftBox II_SYS_SYS_EVE_DREADFULGIFTBOX02
{
II_GEN_MAT_ELE_LIGHTING 9500 1 0 0 0
II_GEN_MAT_ELE_VOLCANO 500 1 0 0 0
0
All together must equal 100%!

Both of your Items have the chance of 100%.