骑马与砍杀中文站论坛

 找回密码
 注册(Register!)

QQ登录

只需一步,快速开始

搜索
购买CDKEY 小黑盒加速器
查看: 2941|回复: 2

[功能与代码] 快速定义兵种-只需设定兵种兵阶

[复制链接]

61

主题

450

回帖

363

积分

见习骑士

Rank: 3

UID
2741644
第纳尔
5753
精华
0
互助
38
荣誉
2
贡献
15
魅力
411
注册时间
2016-4-23

骑砍中文站APP会员勋章霸主正版勋章

鲜花(158) 鸡蛋(0)
发表于 2021-7-24 12:15:05 | 显示全部楼层 |阅读模式
本帖最后由 野蛮人y 于 2021-7-24 12:22 编辑

1、设定各兵种各兵阶武器熟练、技能组合
在module_troop.py文件,
"knight_skills_5 = knows_riding_8|knows_ironflesh_6|knows_power_strike_7|knows_athletics_5|knows_tactics_6|knows_prisoner_management_3|knows_leadership_9|knows_weapon_master_9"后面添下如下:
##############16个兵种六阶兵武器熟练、技能设定————Yeoman############################
##1.步盾兵budun
budun_wp1 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(45)|wp_crossbow(45)|wp_throwing(45)
budun_wp2 = wp_one_handed(90)|wp_two_handed(90)|wp_polearm(90)|wp_archery(60)|wp_crossbow(60)|wp_throwing(60)
budun_wp3 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(95)|wp_crossbow(95)|wp_throwing(95)
budun_wp4 = wp_one_handed(200)|wp_two_handed(200)|wp_polearm(200)|wp_archery(140)|wp_crossbow(140)|wp_throwing(140)
budun_wp5 = wp_one_handed(260)|wp_two_handed(260)|wp_polearm(260)|wp_archery(185)|wp_crossbow(185)|wp_throwing(185)
budun_wp6 = wp_one_handed(330)|wp_two_handed(330)|wp_polearm(330)|wp_archery(240)|wp_crossbow(240)|wp_throwing(240)
budun_sk1 = knows_ironflesh_2|knows_power_strike_2|knows_shield_1|knows_athletics_2
budun_sk2 = knows_weapon_master_1|knows_ironflesh_3|knows_power_strike_3|knows_shield_2|knows_athletics_3
budun_sk3 = knows_weapon_master_2|knows_ironflesh_4|knows_power_strike_4|knows_shield_3|knows_athletics_4
budun_sk4 = knows_weapon_master_4|knows_ironflesh_5|knows_power_strike_5|knows_shield_4|knows_athletics_5
budun_sk5 = knows_weapon_master_5|knows_ironflesh_7|knows_power_strike_6|knows_shield_5|knows_athletics_6
budun_sk6 = knows_weapon_master_7|knows_ironflesh_8|knows_power_strike_8|knows_shield_6|knows_athletics_7
##2.步投兵butou
butou_wp1 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(45)|wp_crossbow(45)|wp_throwing(45)
butou_wp2 = wp_one_handed(90)|wp_two_handed(90)|wp_polearm(90)|wp_archery(60)|wp_crossbow(60)|wp_throwing(60)
butou_wp3 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(95)|wp_crossbow(95)|wp_throwing(95)
butou_wp4 = wp_one_handed(200)|wp_two_handed(200)|wp_polearm(200)|wp_archery(140)|wp_crossbow(140)|wp_throwing(140)
butou_wp5 = wp_one_handed(260)|wp_two_handed(260)|wp_polearm(260)|wp_archery(185)|wp_crossbow(185)|wp_throwing(185)
butou_wp6 = wp_one_handed(330)|wp_two_handed(330)|wp_polearm(330)|wp_archery(240)|wp_crossbow(240)|wp_throwing(240)
butou_sk1 = knows_ironflesh_2|knows_power_strike_2|knows_shield_1|knows_athletics_2
butou_sk2 = knows_ironflesh_2|knows_power_strike_3|knows_power_throw_1|knows_shield_2|knows_athletics_3|knows_weapon_master_1
butou_sk3 = knows_ironflesh_3|knows_power_strike_4|knows_power_throw_2|knows_shield_2|knows_athletics_4|knows_weapon_master_2
butou_sk4 = knows_ironflesh_3|knows_power_strike_5|knows_power_throw_3|knows_shield_3|knows_athletics_5|knows_weapon_master_4
butou_sk5 = knows_ironflesh_4|knows_power_strike_6|knows_power_throw_4|knows_shield_4|knows_athletics_6|knows_weapon_master_5
butou_sk6 = knows_ironflesh_5|knows_power_strike_8|knows_power_throw_5|knows_shield_4|knows_athletics_7|knows_weapon_master_7
##3.长戟兵jibu
jibu_wp1 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(45)|wp_crossbow(45)|wp_throwing(45)
jibu_wp2 = wp_one_handed(90)|wp_two_handed(90)|wp_polearm(90)|wp_archery(60)|wp_crossbow(60)|wp_throwing(60)
jibu_wp3 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(95)|wp_crossbow(95)|wp_throwing(95)
jibu_wp4 = wp_one_handed(200)|wp_two_handed(200)|wp_polearm(200)|wp_archery(140)|wp_crossbow(140)|wp_throwing(140)
jibu_wp5 = wp_one_handed(260)|wp_two_handed(260)|wp_polearm(260)|wp_archery(185)|wp_crossbow(185)|wp_throwing(185)
jibu_wp6 = wp_one_handed(330)|wp_two_handed(330)|wp_polearm(330)|wp_archery(240)|wp_crossbow(240)|wp_throwing(240)
jibu_sk1 = knows_ironflesh_2|knows_power_strike_2|knows_athletics_3
jibu_sk2 = knows_ironflesh_3|knows_power_strike_3|knows_athletics_5|knows_weapon_master_1
jibu_sk3 = knows_ironflesh_4|knows_power_strike_4|knows_athletics_7|knows_weapon_master_2
jibu_sk4 = knows_ironflesh_5|knows_power_strike_6|knows_athletics_8|knows_weapon_master_4
jibu_sk5 = knows_ironflesh_7|knows_power_strike_8|knows_athletics_9|knows_weapon_master_5
jibu_sk6 = knows_ironflesh_9|knows_power_strike_10|knows_athletics_10|knows_weapon_master_7

##4.长戟投jitou
jitou_wp1 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(45)|wp_crossbow(45)|wp_throwing(45)
jitou_wp2 = wp_one_handed(90)|wp_two_handed(90)|wp_polearm(90)|wp_archery(60)|wp_crossbow(60)|wp_throwing(60)
jitou_wp3 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(95)|wp_crossbow(95)|wp_throwing(95)
jitou_wp4 = wp_one_handed(200)|wp_two_handed(200)|wp_polearm(200)|wp_archery(140)|wp_crossbow(140)|wp_throwing(140)
jitou_wp5 = wp_one_handed(260)|wp_two_handed(260)|wp_polearm(260)|wp_archery(185)|wp_crossbow(185)|wp_throwing(185)
jitou_wp6 = wp_one_handed(330)|wp_two_handed(330)|wp_polearm(330)|wp_archery(240)|wp_crossbow(240)|wp_throwing(240)
jitou_sk1 = knows_ironflesh_2|knows_power_strike_2|knows_athletics_3
jitou_sk2 = knows_ironflesh_3|knows_power_strike_3|knows_power_throw_1|knows_athletics_4|knows_weapon_master_1
jitou_sk3 = knows_ironflesh_4|knows_power_strike_4|knows_power_throw_2|knows_athletics_5|knows_weapon_master_2
jitou_sk4 = knows_ironflesh_5|knows_power_strike_5|knows_power_throw_3|knows_athletics_6|knows_weapon_master_4
jitou_sk5 = knows_ironflesh_6|knows_power_strike_7|knows_power_throw_4|knows_athletics_7|knows_weapon_master_5
jitou_sk6 = knows_ironflesh_8|knows_power_strike_8|knows_power_throw_5|knows_athletics_8|knows_weapon_master_7

##5.骑枪qiqiang
qiqiang_wp1 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(45)|wp_crossbow(45)|wp_throwing(45)
qiqiang_wp2 = wp_one_handed(90)|wp_two_handed(90)|wp_polearm(90)|wp_archery(60)|wp_crossbow(60)|wp_throwing(60)
qiqiang_wp3 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(95)|wp_crossbow(95)|wp_throwing(95)
qiqiang_wp4 = wp_one_handed(200)|wp_two_handed(200)|wp_polearm(200)|wp_archery(140)|wp_crossbow(140)|wp_throwing(140)
qiqiang_wp5 = wp_one_handed(260)|wp_two_handed(260)|wp_polearm(260)|wp_archery(185)|wp_crossbow(185)|wp_throwing(185)
qiqiang_wp6 = wp_one_handed(330)|wp_two_handed(330)|wp_polearm(330)|wp_archery(240)|wp_crossbow(240)|wp_throwing(240)
qiqiang_sk1 = knows_ironflesh_2|knows_power_strike_2|knows_riding_3
qiqiang_sk2 = knows_ironflesh_3|knows_power_strike_3|knows_shield_1|knows_riding_4|knows_weapon_master_1
qiqiang_sk3 = knows_ironflesh_4|knows_power_strike_4|knows_shield_2|knows_riding_5|knows_weapon_master_2
qiqiang_sk4 = knows_ironflesh_5|knows_power_strike_5|knows_shield_3|knows_riding_6|knows_weapon_master_4
qiqiang_sk5 = knows_ironflesh_6|knows_power_strike_7|knows_shield_4|knows_riding_7|knows_weapon_master_5
qiqiang_sk6 = knows_ironflesh_8|knows_power_strike_8|knows_shield_5|knows_riding_8|knows_weapon_master_7

##6.骑枪投qiqiangtou
qiqiangtou_wp1 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(45)|wp_crossbow(45)|wp_throwing(45)
qiqiangtou_wp2 = wp_one_handed(90)|wp_two_handed(90)|wp_polearm(90)|wp_archery(60)|wp_crossbow(60)|wp_throwing(60)
qiqiangtou_wp3 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(95)|wp_crossbow(95)|wp_throwing(95)
qiqiangtou_wp4 = wp_one_handed(200)|wp_two_handed(200)|wp_polearm(200)|wp_archery(140)|wp_crossbow(140)|wp_throwing(140)
qiqiangtou_wp5 = wp_one_handed(260)|wp_two_handed(260)|wp_polearm(260)|wp_archery(185)|wp_crossbow(185)|wp_throwing(185)
qiqiangtou_wp6 = wp_one_handed(330)|wp_two_handed(330)|wp_polearm(330)|wp_archery(240)|wp_crossbow(240)|wp_throwing(240)
qiqiangtou_sk1 = knows_ironflesh_2|knows_power_strike_2|knows_riding_3
qiqiangtou_sk2 = knows_ironflesh_2|knows_power_strike_3|knows_power_throw_1|knows_riding_4|knows_horse_archery_1|knows_weapon_master_1
qiqiangtou_sk3 = knows_ironflesh_2|knows_power_strike_4|knows_power_throw_2|knows_shield_1|knows_riding_4|knows_horse_archery_2|knows_weapon_master_2
qiqiangtou_sk4 = knows_ironflesh_2|knows_power_strike_5|knows_power_throw_3|knows_shield_1|knows_riding_5|knows_horse_archery_3|knows_weapon_master_4
qiqiangtou_sk5 = knows_ironflesh_2|knows_power_strike_6|knows_power_throw_4|knows_shield_1|knows_riding_7|knows_horse_archery_4|knows_weapon_master_5
qiqiangtou_sk6 = knows_ironflesh_3|knows_power_strike_7|knows_power_throw_5|knows_shield_1|knows_riding_8|knows_horse_archery_5|knows_weapon_master_7

##7.弓步gongbu
gongbu_wp1 = wp_one_handed(45)|wp_two_handed(45)|wp_polearm(45)|wp_archery(60)|wp_crossbow(45)|wp_throwing(45)
gongbu_wp2 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(90)|wp_crossbow(60)|wp_throwing(60)
gongbu_wp3 = wp_one_handed(95)|wp_two_handed(95)|wp_polearm(95)|wp_archery(140)|wp_crossbow(95)|wp_throwing(95)
gongbu_wp4 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(200)|wp_crossbow(140)|wp_throwing(140)
gongbu_wp5 = wp_one_handed(185)|wp_two_handed(185)|wp_polearm(185)|wp_archery(260)|wp_crossbow(185)|wp_throwing(185)
gongbu_wp6 = wp_one_handed(240)|wp_two_handed(240)|wp_polearm(240)|wp_archery(330)|wp_crossbow(240)|wp_throwing(240)
gongbu_sk1 = knows_power_strike_1|knows_power_draw_3|knows_athletics_3
gongbu_sk2 = knows_power_strike_2|knows_power_draw_4|knows_athletics_5|knows_weapon_master_1
gongbu_sk3 = knows_ironflesh_1|knows_power_strike_2|knows_power_draw_6|knows_athletics_6|knows_weapon_master_2
gongbu_sk4 = knows_ironflesh_1|knows_power_strike_4|knows_power_draw_7|knows_athletics_7|knows_weapon_master_4
gongbu_sk5 = knows_ironflesh_3|knows_power_strike_5|knows_power_draw_8|knows_athletics_8|knows_weapon_master_5
gongbu_sk6 = knows_ironflesh_4|knows_power_strike_6|knows_power_draw_10|knows_athletics_9|knows_weapon_master_7

##8.弩步nubu
nubu_wp1 = wp_one_handed(45)|wp_two_handed(45)|wp_polearm(45)|wp_archery(45)|wp_crossbow(60)|wp_throwing(45)
nubu_wp2 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(60)|wp_crossbow(90)|wp_throwing(60)
nubu_wp3 = wp_one_handed(95)|wp_two_handed(95)|wp_polearm(95)|wp_archery(95)|wp_crossbow(140)|wp_throwing(95)
nubu_wp4 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(140)|wp_crossbow(200)|wp_throwing(140)
nubu_wp5 = wp_one_handed(185)|wp_two_handed(185)|wp_polearm(185)|wp_archery(185)|wp_crossbow(260)|wp_throwing(185)
nubu_wp6 = wp_one_handed(240)|wp_two_handed(240)|wp_polearm(240)|wp_archery(240)|wp_crossbow(330)|wp_throwing(240)
nubu_sk1 = knows_ironflesh_2|knows_power_strike_2|knows_shield_1|knows_athletics_2
nubu_sk2 = knows_ironflesh_3|knows_power_strike_3|knows_shield_2|knows_athletics_3|knows_weapon_master_1
nubu_sk3 = knows_ironflesh_4|knows_power_strike_4|knows_shield_3|knows_athletics_4|knows_weapon_master_2
nubu_sk4 = knows_ironflesh_5|knows_power_strike_5|knows_shield_4|knows_athletics_5|knows_weapon_master_4
nubu_sk5 = knows_ironflesh_6|knows_power_strike_6|knows_shield_5|knows_athletics_7|knows_weapon_master_5
nubu_sk6 = knows_ironflesh_7|knows_power_strike_7|knows_shield_6|knows_athletics_9|knows_weapon_master_7

##9.投步toubu
toubu_wp1 = wp_one_handed(60)|wp_two_handed(45)|wp_polearm(45)|wp_archery(45)|wp_crossbow(45)|wp_throwing(60)
toubu_wp2 = wp_one_handed(90)|wp_two_handed(60)|wp_polearm(60)|wp_archery(60)|wp_crossbow(60)|wp_throwing(90)
toubu_wp3 = wp_one_handed(140)|wp_two_handed(95)|wp_polearm(95)|wp_archery(95)|wp_crossbow(95)|wp_throwing(140)
toubu_wp4 = wp_one_handed(200)|wp_two_handed(140)|wp_polearm(140)|wp_archery(140)|wp_crossbow(140)|wp_throwing(200)
toubu_wp5 = wp_one_handed(260)|wp_two_handed(185)|wp_polearm(185)|wp_archery(185)|wp_crossbow(185)|wp_throwing(260)
toubu_wp6 = wp_one_handed(330)|wp_two_handed(240)|wp_polearm(240)|wp_archery(240)|wp_crossbow(240)|wp_throwing(330)
toubu_sk1 = knows_ironflesh_1|knows_power_strike_2|knows_power_throw_2|knows_athletics_2
toubu_sk2 = knows_ironflesh_2|knows_power_strike_3|knows_power_throw_3|knows_athletics_3|knows_weapon_master_1
toubu_sk3 = knows_ironflesh_3|knows_power_strike_4|knows_power_throw_4|knows_athletics_4|knows_weapon_master_2
toubu_sk4 = knows_ironflesh_4|knows_power_strike_5|knows_power_throw_5|knows_athletics_5|knows_weapon_master_4
toubu_sk5 = knows_ironflesh_5|knows_power_strike_6|knows_power_throw_7|knows_athletics_6|knows_weapon_master_5
toubu_sk6 = knows_ironflesh_6|knows_power_strike_7|knows_power_throw_9|knows_athletics_7|knows_weapon_master_7

##10.骑弓手qigong
qigong_wp1 = wp_one_handed(45)|wp_two_handed(45)|wp_polearm(45)|wp_archery(60)|wp_crossbow(45)|wp_throwing(45)
qigong_wp2 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(90)|wp_crossbow(60)|wp_throwing(60)
qigong_wp3 = wp_one_handed(95)|wp_two_handed(95)|wp_polearm(95)|wp_archery(140)|wp_crossbow(95)|wp_throwing(95)
qigong_wp4 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(200)|wp_crossbow(140)|wp_throwing(140)
qigong_wp5 = wp_one_handed(185)|wp_two_handed(185)|wp_polearm(185)|wp_archery(260)|wp_crossbow(185)|wp_throwing(185)
qigong_wp6 = wp_one_handed(240)|wp_two_handed(240)|wp_polearm(240)|wp_archery(330)|wp_crossbow(240)|wp_throwing(240)
qigong_sk1 = knows_power_draw_3|knows_riding_2|knows_horse_archery_2
qigong_sk2 = knows_power_draw_4|knows_riding_4|knows_horse_archery_3|knows_weapon_master_1
qigong_sk3 = knows_power_strike_1|knows_power_draw_5|knows_riding_5|knows_horse_archery_4|knows_weapon_master_2
qigong_sk4 = knows_power_strike_1|knows_power_draw_6|knows_riding_6|knows_horse_archery_6|knows_weapon_master_4
qigong_sk5 = knows_power_strike_2|knows_power_draw_7|knows_riding_8|knows_horse_archery_7|knows_weapon_master_5
qigong_sk6 = knows_power_strike_2|knows_power_draw_9|knows_riding_9|knows_horse_archery_9|knows_weapon_master_7
##11.骑弩手qinu
qinu_wp1 = wp_one_handed(45)|wp_two_handed(45)|wp_polearm(45)|wp_archery(45)|wp_crossbow(60)|wp_throwing(45)
qinu_wp2 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(60)|wp_crossbow(90)|wp_throwing(60)
qinu_wp3 = wp_one_handed(95)|wp_two_handed(95)|wp_polearm(95)|wp_archery(95)|wp_crossbow(140)|wp_throwing(95)
qinu_wp4 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(140)|wp_crossbow(200)|wp_throwing(140)
qinu_wp5 = wp_one_handed(185)|wp_two_handed(185)|wp_polearm(185)|wp_archery(185)|wp_crossbow(260)|wp_throwing(185)
qinu_wp6 = wp_one_handed(240)|wp_two_handed(240)|wp_polearm(240)|wp_archery(240)|wp_crossbow(330)|wp_throwing(240)
qinu_sk1 = knows_ironflesh_1|knows_power_strike_2|knows_riding_2|knows_horse_archery_2
qinu_sk2 = knows_ironflesh_1|knows_power_strike_3|knows_riding_4|knows_horse_archery_3|knows_weapon_master_1
qinu_sk3 = knows_ironflesh_2|knows_power_strike_4|knows_riding_5|knows_horse_archery_4|knows_weapon_master_2
qinu_sk4 = knows_ironflesh_2|knows_power_strike_5|knows_riding_6|knows_horse_archery_6|knows_weapon_master_4
qinu_sk5 = knows_ironflesh_3|knows_power_strike_6|knows_riding_8|knows_horse_archery_7|knows_weapon_master_5
qinu_sk6 = knows_ironflesh_4|knows_power_strike_7|knows_riding_9|knows_horse_archery_9|knows_weapon_master_7

##12.骑投手qitou
qitou_wp1 = wp_one_handed(60)|wp_two_handed(45)|wp_polearm(45)|wp_archery(45)|wp_crossbow(45)|wp_throwing(60)
qitou_wp2 = wp_one_handed(90)|wp_two_handed(60)|wp_polearm(60)|wp_archery(60)|wp_crossbow(60)|wp_throwing(90)
qitou_wp3 = wp_one_handed(140)|wp_two_handed(95)|wp_polearm(95)|wp_archery(95)|wp_crossbow(95)|wp_throwing(140)
qitou_wp4 = wp_one_handed(200)|wp_two_handed(140)|wp_polearm(140)|wp_archery(140)|wp_crossbow(140)|wp_throwing(200)
qitou_wp5 = wp_one_handed(260)|wp_two_handed(185)|wp_polearm(185)|wp_archery(185)|wp_crossbow(185)|wp_throwing(260)
qitou_wp6 = wp_one_handed(330)|wp_two_handed(240)|wp_polearm(240)|wp_archery(240)|wp_crossbow(240)|wp_throwing(330)
qitou_sk1 = knows_ironflesh_1|knows_power_strike_1|knows_power_throw_2|knows_riding_2|knows_horse_archery_1
qitou_sk2 = knows_ironflesh_1|knows_power_strike_1|knows_power_throw_3|knows_riding_4|knows_horse_archery_2|knows_weapon_master_1
qitou_sk3 = knows_ironflesh_1|knows_power_strike_2|knows_power_throw_4|knows_riding_5|knows_horse_archery_3|knows_weapon_master_2
qitou_sk4 = knows_ironflesh_1|knows_power_strike_3|knows_power_throw_5|knows_riding_6|knows_horse_archery_4|knows_weapon_master_4
qitou_sk5 = knows_ironflesh_1|knows_power_strike_4|knows_power_throw_7|knows_riding_7|knows_horse_archery_5|knows_weapon_master_5
qitou_sk6 = knows_ironflesh_1|knows_power_strike_5|knows_power_throw_9|knows_riding_8|knows_horse_archery_6|knows_weapon_master_7

##13.混弓投hgongtou
hgongtou_wp1 = wp_one_handed(45)|wp_two_handed(45)|wp_polearm(45)|wp_archery(60)|wp_crossbow(45)|wp_throwing(60)
hgongtou_wp2 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(90)|wp_crossbow(60)|wp_throwing(90)
hgongtou_wp3 = wp_one_handed(95)|wp_two_handed(95)|wp_polearm(95)|wp_archery(140)|wp_crossbow(95)|wp_throwing(140)
hgongtou_wp4 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(200)|wp_crossbow(140)|wp_throwing(200)
hgongtou_wp5 = wp_one_handed(185)|wp_two_handed(185)|wp_polearm(185)|wp_archery(260)|wp_crossbow(185)|wp_throwing(260)
hgongtou_wp6 = wp_one_handed(240)|wp_two_handed(240)|wp_polearm(240)|wp_archery(330)|wp_crossbow(240)|wp_throwing(330)
hgongtou_sk1 = knows_power_strike_1|knows_power_draw_2|knows_power_throw_2|knows_athletics_2
hgongtou_sk2 = knows_power_strike_2|knows_power_draw_3|knows_power_throw_3|knows_athletics_3|knows_weapon_master_1
hgongtou_sk3 = knows_power_strike_3|knows_power_draw_4|knows_power_throw_4|knows_athletics_4|knows_weapon_master_2
hgongtou_sk4 = knows_power_strike_4|knows_power_draw_5|knows_power_throw_5|knows_athletics_5|knows_weapon_master_4
hgongtou_sk5 = knows_ironflesh_1|knows_power_strike_5|knows_power_draw_6|knows_power_throw_6|knows_athletics_6|knows_weapon_master_5
hgongtou_sk6 = knows_ironflesh_2|knows_power_strike_6|knows_power_draw_7|knows_power_throw_7|knows_athletics_7|knows_weapon_master_7

##14.混弓弩hgongnu
hgongnu_wp1 = wp_one_handed(45)|wp_two_handed(45)|wp_polearm(45)|wp_archery(60)|wp_crossbow(60)|wp_throwing(45)
hgongnu_wp2 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(90)|wp_crossbow(90)|wp_throwing(60)
hgongnu_wp3 = wp_one_handed(95)|wp_two_handed(95)|wp_polearm(95)|wp_archery(140)|wp_crossbow(140)|wp_throwing(95)
hgongnu_wp4 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(200)|wp_crossbow(200)|wp_throwing(140)
hgongnu_wp5 = wp_one_handed(185)|wp_two_handed(185)|wp_polearm(185)|wp_archery(260)|wp_crossbow(260)|wp_throwing(185)
hgongnu_wp6 = wp_one_handed(240)|wp_two_handed(240)|wp_polearm(240)|wp_archery(330)|wp_crossbow(330)|wp_throwing(240)
hgongnu_sk1 = knows_ironflesh_1|knows_power_strike_2|knows_power_draw_2|knows_athletics_2
hgongnu_sk2 = knows_ironflesh_2|knows_power_strike_3|knows_power_draw_3|knows_athletics_3|knows_weapon_master_1
hgongnu_sk3 = knows_ironflesh_3|knows_power_strike_4|knows_power_draw_4|knows_athletics_4|knows_weapon_master_2
hgongnu_sk4 = knows_ironflesh_4|knows_power_strike_5|knows_power_draw_5|knows_athletics_5|knows_weapon_master_4
hgongnu_sk5 = knows_ironflesh_5|knows_power_strike_6|knows_power_draw_7|knows_athletics_6|knows_weapon_master_5
hgongnu_sk6 = knows_ironflesh_6|knows_power_strike_7|knows_power_draw_8|knows_athletics_8|knows_weapon_master_7

##15.混弩投hnutou
hnutou_wp1 = wp_one_handed(45)|wp_two_handed(45)|wp_polearm(45)|wp_archery(45)|wp_crossbow(60)|wp_throwing(60)
hnutou_wp2 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(60)|wp_crossbow(90)|wp_throwing(90)
hnutou_wp3 = wp_one_handed(95)|wp_two_handed(95)|wp_polearm(95)|wp_archery(95)|wp_crossbow(140)|wp_throwing(140)
hnutou_wp4 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(140)|wp_crossbow(200)|wp_throwing(200)
hnutou_wp5 = wp_one_handed(185)|wp_two_handed(185)|wp_polearm(185)|wp_archery(185)|wp_crossbow(260)|wp_throwing(260)
hnutou_wp6 = wp_one_handed(240)|wp_two_handed(240)|wp_polearm(240)|wp_archery(240)|wp_crossbow(330)|wp_throwing(330)
hnutou_sk1 = knows_ironflesh_1|knows_power_strike_2|knows_power_throw_2|knows_athletics_2
hnutou_sk2 = knows_ironflesh_2|knows_power_strike_3|knows_power_throw_3|knows_athletics_3|knows_weapon_master_1
hnutou_sk3 = knows_ironflesh_3|knows_power_strike_4|knows_power_throw_4|knows_athletics_4|knows_weapon_master_2
hnutou_sk4 = knows_ironflesh_4|knows_power_strike_5|knows_power_throw_5|knows_athletics_5|knows_weapon_master_4
hnutou_sk5 = knows_ironflesh_5|knows_power_strike_6|knows_power_throw_7|knows_athletics_6|knows_weapon_master_5
hnutou_sk6 = knows_ironflesh_6|knows_power_strike_7|knows_power_throw_8|knows_athletics_8|knows_weapon_master_7

##16.骑弓投qigongtou
qigongtou_wp1 = wp_one_handed(45)|wp_two_handed(45)|wp_polearm(45)|wp_archery(60)|wp_crossbow(45)|wp_throwing(60)
qigongtou_wp2 = wp_one_handed(60)|wp_two_handed(60)|wp_polearm(60)|wp_archery(90)|wp_crossbow(60)|wp_throwing(90)
qigongtou_wp3 = wp_one_handed(95)|wp_two_handed(95)|wp_polearm(95)|wp_archery(140)|wp_crossbow(95)|wp_throwing(140)
qigongtou_wp4 = wp_one_handed(140)|wp_two_handed(140)|wp_polearm(140)|wp_archery(200)|wp_crossbow(140)|wp_throwing(200)
qigongtou_wp5 = wp_one_handed(185)|wp_two_handed(185)|wp_polearm(185)|wp_archery(260)|wp_crossbow(185)|wp_throwing(260)
qigongtou_wp6 = wp_one_handed(240)|wp_two_handed(240)|wp_polearm(240)|wp_archery(330)|wp_crossbow(240)|wp_throwing(330)
qigongtou_sk1 = knows_power_strike_1|knows_power_draw_2|knows_power_throw_2|knows_riding_2
qigongtou_sk2 = knows_power_strike_1|knows_power_draw_3|knows_power_throw_3|knows_riding_3|knows_horse_archery_1|knows_weapon_master_1
qigongtou_sk3 = knows_power_strike_1|knows_power_draw_4|knows_power_throw_4|knows_riding_4|knows_horse_archery_2|knows_weapon_master_2
qigongtou_sk4 = knows_power_strike_1|knows_power_draw_5|knows_power_throw_5|knows_riding_5|knows_horse_archery_3|knows_weapon_master_4
qigongtou_sk5 = knows_power_strike_2|knows_power_draw_6|knows_power_throw_6|knows_riding_6|knows_horse_archery_4|knows_weapon_master_5
qigongtou_sk6 = knows_power_strike_3|knows_power_draw_7|knows_power_throw_7|knows_riding_7|knows_horse_archery_5|knows_weapon_master_7
#################################################################################Y#####################################################  
2、定义兵种,只需在武器熟练、技能栏填前面的代号就行,前面的属性等级def_attrib|level(26)就这样就行,后面可以用触发器统一调整力敏,例子斯袜骑士,五阶兵,枪骑,则用武器熟练、技能用五阶枪骑熟练五阶枪骑技能qiqiang_wp5,qiqiang_sk5,:
  ["swadian_knight","Swadian Knight","Swadian Knights",tf_mounted|tf_lancer|tf_guarantee_two_handed_weapon,0,0,fac_kingdom_1,
   [itm_changqiang,itm_zhaoyunqiang,itm_tiesuo,itm_taiojian,itm_sword_of_war,itm_tab_shield_heater_cav_b,
    itm_pftiejia,itm_qinglongxue,itm_fcdou_hei,itm_charger,itm_warhorse,itm_gauntlets,itm_lamellar_gauntlets],
   def_attrib|level(26),qiqiang_wp5,qiqiang_sk5,swadian_face_middle_1, swadian_face_older_2],

3、在module_triggers.py文件添加统一调整力敏属性触发器:
  # reset soldiers attribute
  (1, 0, ti_once,
  [],
  [                                                                        
        (try_for_range, ":troop", soldiers_begin, soldiers_end),
                ###########重置属性##################力敏占总属性点70%加1,力敏6、4分,余下智魅
                (store_attribute_level, ":sl", ":troop", ca_strength),
                (store_attribute_level, ":al", ":troop", ca_agility ),
                (store_attribute_level, ":il", ":troop", ca_intelligence),
                (store_attribute_level, ":cl", ":troop", ca_charisma),
                # (store_add,":sumpoint",":sl", ":al"),
                # (val_add, ":sumpoint", ":il"),
                # (val_add, ":sumpoint", ":cl"),##原属性点总和,嫌少重设如下
                (store_character_level, ":troop_level", ":troop"),
                (store_add, ":sumpoint", ":troop_level", 30),                ##重设属性点总和:等级+30
               
                (store_mul,":sapoint", ":sumpoint", 7),
                (val_div,":sapoint", 10),
                (val_add,":sapoint", 1),
                (store_mul,":spoint", ":sapoint", 6),
                (val_div,":spoint", 10),
                (store_sub,":spcha", ":spoint", ":sl"),
                (troop_raise_attribute, ":troop", ca_strength, ":spcha"),
                (store_sub,":apoint", ":sapoint", ":spoint"),
                (store_sub,":apcha", ":apoint", ":al"),
                (troop_raise_attribute, ":troop", ca_agility , ":apcha"),
                (store_sub,":icpoint", ":sumpoint", ":sapoint"),
                (store_div,":ipoint", ":icpoint", 2),
                (store_sub,":ipcha", ":ipoint", ":il"),
                (troop_raise_attribute, ":troop", ca_intelligence , ":ipcha"),
                (store_sub,":cpoint", ":icpoint", ":ipoint"),
                (store_sub,":cpcha", ":cpoint", ":cl"),
                (troop_raise_attribute, ":troop", ca_charisma , ":cpcha"),                                       
    (try_end),  
]).        


bingzhong.zip

19.47 KB, 下载次数: 51

兵种属性表

评分

参与人数 2第纳尔 +30 互助 +1 魅力 +20 收起 理由
Aomine Daiki + 20 + 20 文章不错,继续努力!
muyiboy + 10 + 1 文章不错,继续努力!

查看全部评分

鲜花鸡蛋

半世尘埃  在2021-7-27 16:36  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
NEW_SHIT  在2021-7-25 17:41  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
幼稚园殺手  在2021-7-24 17:06  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
Aomine Daiki  在2021-7-24 14:57  送朵鲜花  并说:我非常同意你的观点,送朵鲜花鼓励一下
★★★【三国群英赋】★★★

55

主题

2773

回帖

1773

积分

子爵[版主]

吟游诗人

Rank: 7Rank: 7Rank: 7

UID
3054380
第纳尔
23779
精华
2
互助
57
荣誉
44
贡献
916
魅力
1418
注册时间
2019-1-18

骑砍中文站APP会员勋章原版正版勋章战团正版勋章火与剑正版勋章拿破仑正版勋章维京征服正版勋章霸主正版勋章剧本设计大奖赛骑友真人秀Ⅷ勋章骑友真人秀Ⅶ勋章骑友真人秀Ⅸ勋章

QQ
鲜花(514) 鸡蛋(2)
发表于 2021-7-24 16:58:18 | 显示全部楼层
不错不错,支持一下,是方便了很多
珍惜 奉献 不负韶华

24

主题

3788

回帖

1164

积分

骑士

Rank: 4Rank: 4

UID
2781503
第纳尔
10467
精华
0
互助
4
荣誉
0
贡献
0
魅力
59
注册时间
2016-11-27

骑砍中文站APP会员勋章骑士美德之英勇勋章[杰出会员活跃勋章]霸主正版勋章元老骑士勋章战团正版勋章骑士美德之谦恭勋章[杰出会员财富勋章]

鲜花(97) 鸡蛋(1)
发表于 2021-7-24 17:40:47 来自手机 | 显示全部楼层
大佬又分享知识了,顶
您需要登录后才可以回帖 登录 | 注册(Register!)

本版积分规则

Archiver|手机版|小黑屋|骑马与砍杀中文站

GMT+8, 2024-12-29 09:49 , Processed in 0.126834 second(s), 23 queries , Gzip On, MemCached On.

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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