I have the following block of code in a datadriven modifier that I've created:

Code:
"OnAttackLanded"
{
	"RunScript"
	{
		"ScriptFile"			"custom_scripted_abilities.lua"
		"Function"			"item_yasha_rook_apply_effect"
		"Duration"			"%on_hit_duration"
		"Target"			"ATTACKER"
	}
}
I'm reasonably sure that in Lua, my parameter (called "keys") should then have the attacking unit passed in as keys.target. However, keys.target instead points to the unit that is being attacked. The same thing occurs when I use "Target" "CASTER". Note that keys.caster and keys.attacker both point to the attacking unit, like they should.