Fixes Compare Nil value with number

If target have no Shield, GetShieldCapacityMax() returns Nil. Which can't be compared with > 0. 
Added a check to see if it returns nil.

Fixes issue: #27 #28 (duplicate posts) 

And as the healthbar doesn't enlarge when no shield issue #20 is also fixed. (Ryu's fixed that)