本帖最后由 三笠的艾伦 于 2020-12-5 18:39 编辑
看到之前分享的帖子还有许多骑友回帖,心里一暖,想着再和你们分享,把一些自己研究好玩的成果拿出来,大家开心开心。虽然有很多伸手党,连回贴都懒得动手,让人心寒难受,但还有部分人对我的研究表示肯定,欣慰之际,就发出来了。
很久没玩潘德了,因为12世纪更新,一直在玩12TH。看到还有很多骑友关注潘德,那我把之前写的一些代码分享给你们吧。具体如何添加就不要问我了,我以前的帖子都有讲,很多大佬也讲过,去站里搜索把。
具体参数我就不说明了,这样已经很厉害,只是让技能附属效果有加成,不再鸡肋,希望你们玩得开心。在此特别感谢 朱红之恋 的作者:三啸大佬,对我的指导和帮助,很多思路都是他分享给我的,感谢他!
适用潘德3.95
#马匹提升生命值,骑术等级*20点生命值加成, # (玩家铁骨等级*10生命加成), #自动注释掉了,用了减伤代码最好不要用
# 跑动等级*2%百分比移动速度加成,
# 骑射等级*10%远程伤害加成,
# (三远程熟练度之和/20)%远程伤害加成
# (三远程熟练度之和/20)%远程装载弹药速度加成
# 武器掌握等级*2%射击精度加成
(ti_after_mission_start, 0, 0, [],
[
(try_for_agents, ":var_0"),
(agent_is_alive, ":var_0"),
# (get_player_agent_no, ":player_no"), #仅玩家有效
(try_begin),
# (eq, ":var_0", ":player_no"), #仅玩家有效
(agent_is_ally, ":var_0"), #友军有效
(agent_is_human, ":var_0"),
(agent_get_troop_id, ":var_3", ":var_0"),
(troop_is_hero, ":var_3"), # 友军npc有效
# (store_skill_level, ":var_1", skl_ironflesh, ":var_3"),#自动注释掉了,用了减伤代码不要使用
# (store_agent_hit_points, ":var_2", ":var_0", 1),
# (val_mul, ":var_1", 10),
# (val_add, ":var_2", ":var_1"),
# (agent_set_max_hit_points, ":var_0", ":var_2", 1),
# (agent_set_hit_points, ":var_0", ":var_2", 1),
(store_skill_level, ":var_11", skl_athletics, ":var_3"),
(val_mul, ":var_11", 2),
(val_add, ":var_11", 100),
(agent_set_speed_modifier, ":var_0", ":var_11"),
(store_skill_level, ":var_12", skl_horse_archery, ":var_3"),
(store_proficiency_level, ":val_4", ":var_3", wpt_archery),
(store_proficiency_level, ":val_5", ":var_3", wpt_crossbow),
(store_proficiency_level, ":val_6", ":var_3", wpt_throwing),
(val_add, ":val_4", ":val_5"),
(val_add, ":val_4", ":val_6"),
(val_div, ":val_4", 20),
(val_mul, ":var_12", 10),
(val_add, ":var_12", ":val_4"),
(val_add, ":var_12", 100),
(agent_set_ranged_damage_modifier, ":var_0", ":var_12"),
(val_add, ":val_4", 100),
(agent_set_reload_speed_modifier, ":var_0", ":val_4"),
(store_skill_level, ":var_13", skl_weapon_master, ":var_3"),
(val_mul, ":var_13", 2),
(val_add, ":var_13", 100),
(agent_set_accuracy_modifier, ":var_0", ":var_13"),
(agent_get_horse, ":var_1", ":var_0"),
(ge, ":var_1", 0),
(try_begin),
(store_skill_level, ":var_19", skl_riding, ":var_3"),
(store_agent_hit_points, ":var_20", ":var_1", 1),
(val_mul, ":var_19", 20),
(val_add, ":var_19", ":var_20"),
(agent_set_max_hit_points, ":var_1", ":var_19", 1),
(agent_set_hit_points, ":var_1", ":var_19", 1),
# (assign, reg0, ":var_20"),
# (assign, reg1, ":var_19"),
# (display_message, "@{reg0}, {reg1},"),
(try_end),
(try_end),
(try_end),
]),
|
-20.000000 0.000000 0.000000 0 40 12 1 1224979098644774912 1702 1 1224979098644774912 4 0 1706 1 1224979098644774912 1704 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 1507 1 1224979098644774913 2170 3 1224979098644774914 25 1224979098644774913 2107 2 1224979098644774914 2 2105 2 1224979098644774914 100 2093 2 1224979098644774912 1224979098644774914 2170 3 1224979098644774915 23 1224979098644774913 2176 3 1224979098644774916 1224979098644774913 3 2176 3 1224979098644774917 1224979098644774913 4 2176 3 1224979098644774918 1224979098644774913 5 2105 2 1224979098644774916 1224979098644774917 2105 2 1224979098644774916 1224979098644774918 2108 2 1224979098644774916 20 2107 2 1224979098644774915 10 2105 2 1224979098644774915 1224979098644774916 2105 2 1224979098644774915 100 2099 2 1224979098644774912 1224979098644774915 2105 2 1224979098644774916 100 2094 2 1224979098644774912 1224979098644774916 2170 3 1224979098644774919 27 1224979098644774913 2107 2 1224979098644774919 2 2105 2 1224979098644774919 100 2092 2 1224979098644774912 1224979098644774919 1714 2 1224979098644774920 1224979098644774912 30 2 1224979098644774920 0 4 0 2170 3 1224979098644774921 24 1224979098644774913 1720 3 1224979098644774922 1224979098644774920 1 2107 2 1224979098644774921 20 2105 2 1224979098644774921 1224979098644774922 2090 3 1224979098644774920 1224979098644774921 1 1721 3 1224979098644774920 1224979098644774921 1 3 0 3 0 3 0
|
|