Update Unit.cpp

mods for resilience