mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-07 23:52:27 +08:00
9 lines
408 B
Go
9 lines
408 B
Go
function OnBeHurt(context, element_type, strike_type, is_host)
|
|
local this_target = ScriptLib.GetContextGadgetConfigId(context)
|
|
--ScriptLib.PrintLog("##config="..this_target)
|
|
--local this_group = ScriptLib.GetContextGroupId(context)
|
|
--ScriptLib.PrintLog("##config="..this_group)
|
|
ScriptLib.SetGadgetStateByConfigId(context, this_target, GadgetState.GatherDrop)
|
|
ScriptLib.PrintLog("OnHit Trigger")
|
|
end
|