獵魔奇俠 近戰武器攻擊距離修改方法 武器修改代碼
獵魔奇俠 近戰武器攻擊距離修改方法 武器修改代碼
【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
點擊進入3DMGAME《獵魔奇俠》遊戲論壇專區