游戏之家 > 游戏库 > 骑马与砍杀

《骑马与砍杀》武器动作代码

今天,在boyzhanxun大大帖子的指引下,完成了以下这篇文章,在他帖子中他说看不懂那长串数字的规律,其实

header_items.py文件里写的非常非常清楚了,boyzhanxun大大绕了一大圈才达到目的,其实只要告诉我们以下内

容就行了

# Item capabilities:

itcf_thrust_onehanded 单手刺                         = 0x0000000000000001

itcf_overswing_onehanded 单手砍                      = 0x0000000000000002

itcf_slashright_onehanded 单手右砍                   = 0x0000000000000004

itcf_slashleft_onehanded 单手左砍                    = 0x0000000000000008

itcf_thrust_twohanded 双手刺                         = 0x0000000000000010

itcf_overswing_twohanded 双手砍                      = 0x0000000000000020

itcf_slashright_twohanded 双手右砍                   = 0x0000000000000040

itcf_slashleft_twohanded 双手左砍                    = 0x0000000000000080

itcf_thrust_polearm 长杆刺                           = 0x0000000000000100

itcf_overswing_polearm 长杆砍                        = 0x0000000000000200

itcf_slashright_polearm 长杆右砍                     = 0x0000000000000400

itcf_slashleft_polearm 长杆左砍                      = 0x0000000000000800

itcf_shoot_bow                                       = 0x0000000000001000

itcf_shoot_javelin                                   = 0x0000000000002000

itcf_shoot_crossbow                                  = 0x0000000000004000

itcf_throw_stone                                     = 0x0000000000010000

itcf_throw_knife                                     = 0x0000000000020000

itcf_throw_axe                                       = 0x0000000000030000

itcf_throw_javelin                                   = 0x0000000000040000

itcf_shoot_pistol                                    = 0x0000000000070000

itcf_shoot_musket                                    = 0x0000000000080000

itcf_shoot_mask                                      = 0x00000000000ff000

itcf_horseback_thrust_onehanded 没用过               = 0x0000000000100000

itcf_horseback_overswing_right_onehanded 没用过      = 0x0000000000200000

itcf_horseback_overswing_left_onehanded 没用过       = 0x0000000000400000

itcf_horseback_slashright_onehanded 单手马上右砍     = 0x0000000000800000

itcf_horseback_slashleft_onehanded 单手马上左砍      = 0x0000000001000000

itcf_thrust_onehanded_lance 枪骑单手刺               = 0x0000000004000000

itcf_thrust_onehanded_lance_horseback 枪骑单手马上刺 = 0x0000000008000000

itcf_carry_mask                                      = 0x00000007f0000000

itcf_carry_sword_left_hip                            = 0x0000000010000000

itcf_carry_axe_left_hip                              = 0x0000000020000000

itcf_carry_dagger_front_left                         = 0x0000000030000000

itcf_carry_dagger_front_right                        = 0x0000000040000000

itcf_carry_quiver_front_right                        = 0x0000000050000000

itcf_carry_quiver_back_right                         = 0x0000000060000000

itcf_carry_quiver_right_vertical                     = 0x0000000070000000

itcf_carry_quiver_back                               = 0x0000000080000000

itcf_carry_revolver_right                            = 0x0000000090000000

itcf_carry_pistol_front_left                         = 0x00000000a0000000

itcf_carry_bowcase_left                              = 0x00000000b0000000

itcf_carry_axe_back                                  = 0x0000000100000000

itcf_carry_sword_back                                = 0x0000000110000000

itcf_carry_kite_shield                               = 0x0000000120000000

itcf_carry_round_shield                              = 0x0000000130000000

itcf_carry_buckler_left                              = 0x0000000140000000

itcf_carry_crossbow_back                             = 0x0000000150000000

itcf_carry_bow_back                                  = 0x0000000160000000

itcf_carry_spear                                     = 0x0000000170000000

itcf_carry_katana                                    = 0x0000000210000000

itcf_carry_wakizashi                                 = 0x0000000220000000

itcf_show_holster_when_drawn                         = 0x0000000800000000

itcf_reload_pistol                                   = 0x0000007000000000

itcf_reload_musket                                   = 0x0000008000000000

itcf_reload_mask                                     = 0x000000f000000000

这部分是格挡

itcf_parry_forward_onehanded                         = 0x0000010000000000

itcf_parry_up_onehanded                              = 0x0000020000000000

itcf_parry_right_onehanded                           = 0x0000040000000000

itcf_parry_left_onehanded                            = 0x0000080000000000

itcf_parry_forward_twohanded                         = 0x0000100000000000

itcf_parry_up_twohanded                              = 0x0000200000000000

itcf_parry_right_twohanded                           = 0x0000400000000000

itcf_parry_left_twohanded                            = 0x0000800000000000

itcf_parry_forward_polearm                           = 0x0001000000000000

itcf_parry_up_polearm                                = 0x0002000000000000

itcf_parry_right_polearm                             = 0x0004000000000000

itcf_parry_left_polearm                              = 0x0008000000000000

itcf_force_64_bits *标注1                            = 0x8000000000000000