addHook("ShieldSpecial", function(player)
--Armageddon Shield
if player.powers[pw_shield] == SH_ARMAGEDDON
--do ability here
return true
end
--There are special checks for Force Shield
if player.powers[pw_shield]&SH_FORCE|SH_FORCEHP -- For full Force Shield
--do ability here
return true
elseif player.powers[pw_shield]&SH_FORCE -- For 1HP Force Shield
--do 1hp ability here
return true
end
end)