because you are applying those conditions only on the target, take a look at your spell.
Propably this is what you wanted to achieve:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1)...