游戏之家 > 游戏库

维克多弗兰 近战武器攻击距离修改方法 武器修改代码

维克多弗兰 近战武器攻击距离修改方法 武器修改代码

【ZZZ_Weapon.lua】放在【Weapons】文件夹下,然后按照【点我观看】制作mod。

【ZZZ_Weapon.lua】内容:攻击距离默认都在3-4米,你可以根据自己习惯修改。


--细剑原地攻击,提速

SA_Rapier_Pound.max_slide = 0

SA_Rapier_Pound1.max_slide = 0

SA_Rapier_Pound2.max_slide = 0

SA_Rapier_Pound3.max_slide = 0

SA_Rapier_Pound4.max_slide = 0

function SA_Rapier_Pound1:End(obj)

obj:SetCooldown("Rapier_Pound2", 52)

end

function SA_Rapier_Pound2:End(obj)

obj:SetCooldown("Rapier_Pound3", 58)

end


--近战武器攻击距离修改

--细剑攻击距离

SA_Rapier_BaseAttack.hit_range = 20 * guim

SA_Rapier_Pound.hit_range = 20 * guim

SA_Rapier_Pound1.hit_range = 20 * guim

SA_Rapier_Pound2.hit_range = 20 * guim

SA_Rapier_Pound3.hit_range = 20 * guim

SA_Rapier_Pound4.hit_range = 20 * guim

SA_Rapier_Charge.hit_range = 20 * guim

SA_Rapier_CoupDeGrace.hit_range = 20 * guim

SA_Rapier_CoupDeGrace_Haunt.hit_range = 20 * guim

SA_RapierHauntAttack.hit_range = 20 * guim

SA_Rapier_Charge_Scoundrel.hit_range = 20 * guim

SA_Rapier_Scoundrel.hit_range = 20 * guim

SA_Rapier_Pound4_FingerOfChaos.hit_range = 20 * guim

SA_FingerOfChaos.hit_range = 20 * guim

SA_FingerOfChaosHenAttack.hit_range = 20 * guim

--长剑攻击距离

SA_Sword_BaseAttack.hit_range = 20 * guim

SA_Sword_Hack.hit_range = 20 * guim

SA_Sword_Hack1.hit_range = 20 * guim

SA_Sword_Hack2.hit_range = 20 * guim

SA_Sword_Hack3.hit_range = 20 * guim

SA_Sword_Slash.hit_range = 20 * guim

SA_Sword_Bash.hit_range = 20 * guim

SA_Sword_Dash.hit_range = 20 * guim

SA_Sword_Dash_Shackles.hit_range = 20 * guim

SA_Bloodthirst.hit_range = 20 * guim

SA_Sword_Slash_Shard.hit_range = 20 * guim

SA_Sword_Dash_Shard.hit_range = 20 * guim

SA_SwordShardAttack.hit_range = 20 * guim

--铁锤攻击距离

SA_Hammer_BaseAttack.hit_range = 20 * guim

SA_Hammer_Pound.hit_range = 20 * guim

SA_Hammer_Pound1.hit_range = 20 * guim

SA_Hammer_Pound2.hit_range = 20 * guim

SA_Hammer_Pound3.hit_range = 20 * guim

SA_Hammer_Pound3Area.hit_range = 20 * guim

SA_Hammer_Crush.hit_range = 20 * guim

SA_Hammer_Crush_Vortex.hit_range = 20 * guim

SA_Hammer_Smash.hit_range = 20 * guim

SA_Hammer_Smash_Jump.hit_range = 20 * guim

SA_Hammer_SmashArea.hit_range = 20 * guim

SA_Hammer_Smash_Jump_Hellfire.hit_range = 20 * guim

SA_Hammer_Smash_Hellfire.hit_range = 20 * guim

SA_Hammer_SmashArea_Hellfire.hit_range = 20 * guim

SA_Hammer_Pound_Pumpkin.hit_range = 20 * guim

SA_Hammer_Pound1_Pumpkin.hit_range = 20 * guim

SA_Hammer_Pound2_Pumpkin.hit_range = 20 * guim

SA_Hammer_Pound3_Pumpkin.hit_range = 20 * guim

SA_Hammer_Crush_Pumpkin.hit_range = 20 * guim

SA_Hammer_Smash_Pumpkin.hit_range = 20 * guim

SA_Hammer_Smash_Jump_Pumpkin.hit_range = 20 * guim

SA_PumpkinBombExplosion.hit_range = 20 * guim

SA_Hammer_Meteor.hit_range = 20 * guim

SA_ForceOfNature.hit_range = 20 * guim

--镰刀攻击距离

SA_Scythe_BaseAttack.hit_range = 20 * guim

SA_Scythe_Reap.hit_range = 20 * guim

SA_Scythe_Reap1.hit_range = 20 * guim

SA_Scythe_Reap2.hit_range = 20 * guim

SA_Scythe_Shockwave.hit_range = 20 * guim

SA_Scythe_Whirlwind.hit_range = 20 * guim

SA_Scythe_Whirlwind_Dervish.hit_range = 20 * guim

SA_DervishAttack.hit_range = 20 * guim

SA_DarkPact.hit_range = 20 * guim

SA_Scythe_Whirlwind_TriBlade.hit_range = 20 * guim

SA_TriBladeAttack.hit_range = 20 * guim

SA_Scythe_Shockwave_Coldsnap.hit_range = 20 * guim

SA_Rune_Meteor_Vengeance.hit_range = 20 * guim


点击进入PKVS《维克多弗兰》游戏论坛专区