updated attack and defend for all entities, fixed OFTree