Added New Mods and Profiles Folders

This is a complete rebuild of the modpack, with all new mods and updates for 1.5.3 of Anomaly.
This commit is contained in:
2025-01-14 05:07:53 -05:00
parent 85c665b107
commit 376b4b9689
21217 changed files with 546254 additions and 0 deletions
@@ -0,0 +1,26 @@
-- Melee Blocking Script by BarryBogs for Heavy Melee Rework
function on_game_start()
RegisterScriptCallback("actor_on_before_hit", actor_on_before_hit)
-- RegisterScriptCallback("actor_on_weapon_lower", actor_on_weapon_lower)
-- RegisterScriptCallback("actor_on_weapon_raise", actor_on_weapon_raise)
end
function actor_on_before_hit(s_hit)
local wpn = db.actor:active_item()
if not wpn then return end
if game.actor_weapon_lowered() == false then return end
if not heavy_melee[wpn:section()] then return end
if s_hit.type == 5 or s_hit.type == 6 then
local melee_blocking = 0.66
s_hit.power = s_hit.power * melee_blocking
end
end
heavy_melee = {
wpn_axe = true,
wpn_axe2 = true,
wpn_axe3 = true,
mmf_shovel_mili = true,
mmf_shovel_old = true,
}