admin 发表于 2021-12-4 16:34:27

增加三国群英传OL单机里面的商城物品表

增加三国群英传OL单机里面的商城物品表
解开三国群英传OL单机的data.pak
打开ItemModeShop.txtcode = 426      ------------商城编号426type = ishopType_Cheapitem_id = item_女义勇兵   --商城物品名称item_number = 1      ---------数量1cost = 5      -------------商城价格5item_attr =ITEMMALL_ATTR_CHEAP    ----特价商品 可自行依情况打上或不打可以在这修改或者增加东西code = 编号要正确(1开头=一般 2开头=特殊 3开头=功能 4开头=特卖)编号顺序要以此类推item_id = 到Item.h物品编号里的增加或替换item_number = 数量只有物品可以数量1-250装备扮装和小兵那些只能1cost =商城价钱随你怎么条

admin 发表于 2021-12-4 16:35:12

DATA.PAK详细修改.txt
一修改小怪的经验:打开Players.txt
exp = 6将这里的数字提高100倍就是100倍经验

二修改怪物的爆率:打开DropItem.txt
对照Players.h里的怪物ID 修改爆率,比如:

drop = 1,item_碎肉,29068772,item_棉絮,28588104,item_Nothing,26009124,item_Nothing,10000000,item_肉塊,5000000,item_羊角,1000000,item_布帽,167000,item_直劍,167000

drop = 1 指Players.h里的#define role_山羊    1

我们在这里可以提高直剑的爆率:原来item_直剑,167000 想提高100倍就可以修改为item_直剑,16700000。同时在这里可以去掉垃圾物品,也可以增加想出的东西,如上加进:item_氣力增加之書,18000000,item_白龍駒,15000000 那么我们打山羊就会爆出气增和白龙驹。

item_Nothing,26009124这个指不出东西,把这个去了就必定出东西。

在Players.h里的编号为865以前,这二个文件里的ID是相符的。

我们只是在原来的数字后加几个0并不能真正提高出东西的爆率!请注意

三修改王的刷新时间:打开Army.txt

reborn_delay = 10
reborn_range = 300
disappear_time = 240

调整这三项的时间,单位为:分

四修改炼造:打开Composite_Table.txt

item = item_流星鐵,1
bless = 1,3-------------------这里调为15就是一次加持+15
fail_ratio = 20---------------失败率调为0就是100/100成功

type = itemTypeALL_WEAPON
item = item_鐵,3,item_斬合金,5
magic_attack_type = skillAttr_SLASH,3,8----增加斩伤3-8点
fail_ratio = 30

这个可以修改为全属性伤,调整如下:
type = itemTypeALL_WEAPON
item = item_鐵,3,item_斬合金,5
magic_attack_type = skillAttr_SLASH,1000,2000   增加全伤害
magic_attack_type = skillAttr_STING,1000,2000
magic_attack_type = skillAttr_BREAK,1000,2000
magic_attack_type = skillAttr_ARROW,1000,2000
magic_attack_type = skillAttr_FIRE,1000,2000
magic_attack_type = skillAttr_WATER,1000,2000
magic_attack_type = skillAttr_GOD,1000,2000
magic_attack_type = skillAttr_EVIL,1000,2000
magic_defense_type = skillAttr_SLASH,1000,2000   增加全属性防
magic_defense_type = skillAttr_STING,1000,2000
magic_defense_type = skillAttr_BREAK,1000,2000
magic_defense_type = skillAttr_ARROW,1000,2000
magic_defense_type = skillAttr_FIRE,1000,2000
magic_defense_type = skillAttr_WATER,1000,2000
magic_defense_type = skillAttr_GOD,1000,2000
magic_defense_type = skillAttr_EVIL,1000,2000
fail_ratio = 0----------------成功率100
卡夫卡卡````(68610966)2:14:23
五修改商城物品:打开ItemModeShop.txt


code = 426-----------------商城编号426
type = ishopType_Cheap
item_id = item_女義勇兵----商城物品名称
item_number = 1--------------数量1
cost = 5-------------------商城价格5

可以在这修改或者增加东西

注意修改这里必须相应修改
Item.h   Item.txt   Item_Help_String.txt   Item_Name.txt等文件
Item.h里的
#define item_仁義無雙 1828 为物品的真正编号
Item_Name.txt里的编号
item = 1927,仁義無雙=Item.h编号+99
Item.txt里的
code = item_仁義無雙
name = 1927-----=Item_Name.txt里的编号
Item_Help_String.txt的编号
item = 9927,昭烈帝劉備所佩帶,蘊含皇氣的雙劍。
=Item.h编号+99+8000=Item_Name.txt里的编号+8000

六修改装备属性:打开Item.txt

code = item_仁義無雙
name = 1927
type = itemTypeWeapon,itemTypeTwoHand,itemTypeTwo,itemTypeNoUse
wait_type = act_STAND_LANCE
add_attr_str = 35
add_attr_con = 10
add_attr_dex = 50
attack_range = 2
effect_range = 0
add_attack_power = 95,117
add_attackx2_ratio = 46
attack_speed = 6
add_weapon_hit = 90
eq_magic_attack_type = skillAttr_SLASH,20
eq_magic_attack_type = skillAttr_STING,20
eq_magic_attack_type = skillAttr_GOD,25
limit_level = 100
limit_str = 60
limit_con = 150
limit_dex = 120
weight = 2800
cost = 144000
sell = 36000
cost_level = 100
icon = 1828
help_string = 9927
super_type = itemTypeTwo
sfx_hit = wav\comm\hit02.wav
sfx_attack = wav\comm\throw1.wav
comp_times = 2
soul_times = 2
sp_effect = engADDCOLOR

可以修改成:

code = item_仁義無雙
name = 1927
type = itemTypeWeapon,itemTypeTwoHand,itemTypeTwo,itemTypeNoUse
wait_type = act_STAND_LANCE
add_attr_str = 999          武力+999
add_attr_int = 999          精神
add_attr_mind = 999         智力
add_attr_con = 999          体魄
add_attr_dex = 999          反应
add_attr_leader = 999       统御
add_defense = 999         防御
add_hp = 200000             体力+20000
add_mp = 200000             技力+20000
add_attackx2_ratio = 980    爆擊+980
attack_speed = 9            功擊速度
add_weapon_hit = 999      命中
add_weapon_misshit = 999    回避
eq_magic_resist = skillAttr_SLASH,100斬防+100
eq_magic_resist = skillAttr_STING,100刺防
eq_magic_resist = skillAttr_BREAK,100碎防
eq_magic_resist = skillAttr_ARROW,100射防
eq_magic_resist = skillAttr_FIRE,100   火防
eq_magic_resist = skillAttr_WATER,100水防
eq_magic_resist = skillAttr_GOD,100    仙防
eq_magic_resist = skillAttr_EVIL,100   妖防
eq_magic_attack_type = skillAttr_SLASH,100斩伤+100
eq_magic_attack_type = skillAttr_STING,100刺伤
eq_magic_attack_type = skillAttr_BREAK,100碎伤
eq_magic_attack_type = skillAttr_ARROW,100射伤
eq_magic_attack_type = skillAttr_FIRE,100   火傷
eq_magic_attack_type = skillAttr_WATER,100水傷
eq_magic_attack_type = skillAttr_GOD,100    仙傷
eq_magic_attack_type = skillAttr_EVIL,100   妖傷
move = 500            移動速度+500
limit_level = 1         使用等級
limit_job = jobWARLORD,jobLEADER,jobADVISOR,jobWIZARD 職业限制 猛豪軍方
limit_str = 60   限制武力60
limit_con = 150限制体魄150
limit_dex = 120限制反应120
weight = 2800
cost = 144000
sell = 36000
cost_level = 100
icon = 1828         Item.h编号   
help_string = 9927    Item_Help_String.txt的编号   
super_type = itemTypeTwo
sfx_hit = wav\comm\hit02.wav
sfx_attack = wav\comm\throw1.wav
comp_times = 2-----强化次数
soul_times = 2-----装备次数
sp_effect = engADDCOLOR
七商店買賣:打开所有ShopData.txt 在里面增加


code = 1--------------------------成都兵器舖
ShopName = 17000
ShopCost = 100
shop_bg = BG_Weapon.jpg
boss_shp = 101
boss_head = 108
boss_name = 17001
boss_msg = 17002
ShopType = shopType_WeaponArmor
Item = Item_聖誕羽翼祝福包,Item_戰龍現世福袋,Item_百戰群英錦囊,Item_運籌百戰錦囊,Item_衝殺百戰錦囊,Item_伏兵戰備包,Item_戒靈技器包,Item_小武魂全集,Item_玄兵妖器福袋,Item_百級神甲包,Item_百級神兵包,Item_曠世天兵包,Item_傳世奇獸包,Item_金秋神裝名駒包,Item_角色卡,Item_昭告天下,Item_蟠桃果,Item_玉露酒


code = 201--------------------------成都兵营
ShopName = 17390
ShopCost = 100
shop_bg = BG_SoldierCamp.jpg
boss_shp = 101
boss_head = 106
boss_name = 17391
boss_msg = 17392
ShopType = shopType_Army
Item = Item_義勇兵,Item_女義勇兵,Item_巨狼騎兵,Item_巨虎豹騎,Item_巨斧騎兵,Item_巨象兵,Item_巨神弓騎


八做任务得所有被动技能:打开ScriptTable.txt


code = 6
script = scMIS_CheckItem,def_001009,Item_树皮,5,,,,
script = scMIS_TakeItem,Item_树皮,5,,,,
script = scMIS_GiveSkill,253
script = scMIS_GiveSkill,254
script = scMIS_GiveSkill,255
script = scMIS_GiveSkill,259
script = scMIS_GiveSkill,260
script = scMIS_GiveSkill,261
script = scMIS_GiveSkill,270
script = scMIS_GiveSkill,274
script = scMIS_GiveSkill,121
script = scMIS_GiveSkill,126
script = scMIS_GiveSkill,131
script = scMIS_GiveSkill,122
script = scMIS_GiveSkill,127
script = scMIS_GiveSkill,281
script = scMIS_GiveSkill,132
script = scMIS_GiveSkill,284
script = scMIS_GiveSkill,288
script = scMIS_GiveSkill,285
script = scMIS_GiveSkill,283
script = scMIS_GiveSkill,286
script = scMIS_GiveSkill,282
script = scMIS_GiveSkill,289
script = scMIS_GiveSkill,257
script = scMIS_GiveSkill,258
script = scMIS_GiveSkill,290
script = scMIS_GiveSkill,264
script = scMIS_GiveSkill,265
script = scMIS_GiveSkill,287


页: [1]
查看完整版本: 增加三国群英传OL单机里面的商城物品表