- Mesaj
- 2
- Beğeni
- 0
- Puan
- 8
- Ticaret Puanı
- 0
Öncelikle herkese merhaba. Bu işi ilk defa yaptığımı belirterek sorumu soruyorum.
Kullandığım fileste başlangıç itemleri (silah ,zırh vs.) giyili ve efsunlu olarak geliyo. Zar zor bu kodları nerden çektiğini buldum ama mesela
19 olan silah kodunu 299 yaptığımda başlangıç itemleri değişmiyor çözümü nedir acaba ?
input_db.cpp diye bir dosya
Kullandığım fileste başlangıç itemleri (silah ,zırh vs.) giyili ve efsunlu olarak geliyo. Zar zor bu kodları nerden çektiğini buldum ama mesela
19 olan silah kodunu 299 yaptığımda başlangıç itemleri değişmiyor çözümü nedir acaba ?
input_db.cpp diye bir dosya
input_db.cpp:
static SInitialItem initialItems[MAIN_RACE_MAX_NUM][MAX_INITIAL_ITEM] =
{
{
// SAVAŞÇI
{EQUIPMENT, WEAR_WEAPON, 1, 299, {0,0,0,0,0,0}, {18,20,19,20,20,20,16,10,15,10}, true}, // weapon
{EQUIPMENT, WEAR_BODY, 1, 11209, {0,0,0,0,0,0}, {1,2000,23,10,24,10,53,50,9,20}, true}, // armor
{EQUIPMENT, WEAR_HEAD, 1, 12209, {0,0,0,0,0,0}, {18,20,19,20,7,8,28,15,12,8}, true}, // head
{EQUIPMENT, WEAR_SHIELD, 1, 13009, {0,0,0,0,0,0}, {48,1,49,1,43,20,44,20,39,15}, true}, // shield
{EQUIPMENT, WEAR_WRIST, 1, 14009, {0,0,0,0,0,0}, {1,2000,16,10,18,20,19,20,23,10}, true}, // bracelet
{EQUIPMENT, WEAR_FOOTS, 1, 15009, {0,0,0,0,0,0}, {1,2000,28,15,15,10,44,20,45,20}, true}, // shoes
{EQUIPMENT, WEAR_NECK, 1, 16009, {0,0,0,0,0,0}, {1,2000,15,10,16,10,18,20,19,20}, true}, // necklace
{EQUIPMENT, WEAR_EAR, 1, 17009, {0,0,0,0,0,0}, {18,20,19,20,45,20,41,8,8,20}, true}, // earring
{INVENTORY, 0, 1, 67030, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 1, 1, 67031, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 2, 1, 67032, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 3, 1, 67033, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 4, 1, 67034, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 5, 1, 67035, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 6, 1, 67036, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 7, 1, 67037, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 8, 1, 72726, {0,0,1000000,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 9, 1, 72730, {0,0,100000,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 10, 1, 50053, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 11, 1, 40003, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 12, 1, 72701, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 13, 1, 70038, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 14, 1, 27989, {0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0}, true},
{INVENTORY, 15, 1, 299, {0,0,0,0,0,0}, {18,20,19,20,20,20,16,10,15,10}, true}, // weapon 2. silah
},
Son düzenleme: