11op三国群英传

 找回密码
 立即注册
搜索
热搜: 三国群英传
查看: 5079|回复: 0
打印 上一主题 下一主题

三国服务端文件代码详细说明(改版本必备)

[复制链接]

734

主题

773

帖子

2611

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2611
跳转到指定楼层
楼主
发表于 2018-3-10 10:19:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
三国服务端文件代码详细说明(改版本必备)

map---------------
code = 3    刷新点
name = 29002
reborn_delay = 10
reborn_range = 300   范围
disappear_time = 240
list = role_張牛角,role_褚飛燕,role_左髭丈八,role_郭大賢,role_張白騎,role_白繞,role_于氐根,role_楊鳳,role_眭固,role_左校,role_劉石,role_于毒
map = 122,22000,1600
map = 34,32000,1600
map = 108,22000,1600
map = 117,42000,1600

一修改小怪的经验:打开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

五修改商城物品:打开ItemModeShop.txt
[item_shop]
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
[item]
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
可以修改成:
[item]
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 在里面增加
[shop]
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_玉露酒
[shop]
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  
[script_tbl]
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


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|11op三国群英传SF  

GMT+8, 2024-11-30 03:29 , Processed in 0.597173 second(s), 23 queries .

Powered by 11op游戏论坛

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表