This worked:
WEAPON Property aadpHammer Auto
HasHammer = false
if (attacker.GetEquippedWeapon() == aadpHammer)
HasHammer = true
elseif (attacker.GetEquippedWeapon(true) == aadpHammer)
HasHammer = true
endif
Why was this not working :
WEAPON Property aadpHammer Auto
HasHammer = attacker.IsEquipped(aadpHammer)
The aadpHammer was in the left hand for testing. Will .IsEquipped() not work for left hand weapons?