PDA

View Full Version : Chia sẻ cách add Boss chi tiết cho ae DKVS



hkgh2501
18-12-14, 09:51 PM
Chẳng biết bao giờ mới có được bản DKVS3. Chán vì mình quá gà

Cấu hình của Boss bên MonsterFightConfig.xml
Ví dụ boss ngàn quỷ cơ có
"id":"41000" (id này để ad thêm vào phần cấu hình nơi boss xuất hiện file MonsterConfig)
"drop":"30100|30101" (Các gói đồ vật phẩm hoặc item)

Coppy thêm
{
"id":"25012023",
"mapId":"102",
"bornX":"114",
"bornY":"265",
"dungeon":"-1",
"monsterFightId":"41000",
"rate":"100"
}

trong đó tăng thêm phần id 1 số
mapid.
ví dụ: 102 là map ở kinh thành, 108 là map ở đao kiếm cốc. (Muốn tìm idmap thì vào dungeonConfig.xml)
"monsterFightId":"41000" đây chính là id của Boss hoặc quái trong file MonterfightConfig.xml

Cấu hình gói drop.
Mở file DropConfig.
{
"id":"41145",
"rewardNo":"233012",
"lineRate":"0",
"type":"0",
"serialNums":"41003_0",
"rate":"100",
"amount":"2",
"maxAmount":"0",
"maxPersonal":"10",
"minLevel":"0",
"maxLevel":"150",
"acquiesce":"false",
"notice":"false",
"dieoutTime":"60",
"period":"1",
"fullValue":"100"
}
- DropConfig.xml
"rewardNo":"233012", -- Gói Drop
"type":"0", -- 0 là Item, 1 là Equip...
"serialNums":"11001_0|12001_0", -- ID item, Id Equip ...
"rate":"1000", -- tỉ lệ drop
"amount":"1", - số lượng drop
- MonsterFightConfig.xml
"drop":"1000", -- Gói Drop
- PropsConfig.xml
"id":"11001", - ID của vật phẩm



Cấu file drop
Cấu hình đồ rơi random theo tỉ lệ rate
,{
"id":"41145",
"rewardNo":"233020",
"lineRate":"0",
"type":"-1",
"rate":"75",
"amount":"0",
"maxAmount":"0",
"maxPersonal":"0",
"minLevel":"0",
"maxLevel":"150",
"acquiesce":"true",
"notice":"false",
"dieoutTime":"60",
"period":"1",
"fullValue":"100"
},{
"id":"41147",
"rewardNo":"233020",
"lineRate":"0",
"type":"0",
"serialNums":"200160_0",
"rate":"90",
"amount":"5",
"maxAmount":"0",
"maxPersonal":"0",
"minLevel":"0",
"maxLevel":"150",
"acquiesce":"false",
"notice":"false",
"dieoutTime":"60",
"period":"1",
"fullValue":"100"
}
Cấu hình đồ rơi rate bằng 100 ("acquiesce":"true",)
{
"id":"41151",
"rewardNo":"233021",
"lineRate":"0",
"type":"0",
"serialNums":"200162_0",
"rate":"100",
"amount":"5",
"maxAmount":"0",
"maxPersonal":"0",
"minLevel":"0",
"maxLevel":"150",
"acquiesce":"true",
"notice":"false",
"dieoutTime":"60",
"period":"1",
"fullValue":"100"
}

ít nữa mình sẽ share bản Luyện Hóa thần thú 14,15,...

chip2014
18-12-14, 09:59 PM
biết add layout ( hình ảnh ) cho item khi mang vào ko ? =(( pít thì chỉ lun 1 thể đi , vì em đang cần T__T